|
|
|
@ -127,8 +127,8 @@ public class MasterServer implements IStoppable {
|
|
|
|
|
taskResponseProcessor.init(processInstanceExecMaps); |
|
|
|
|
StateEventProcessor stateEventProcessor = new StateEventProcessor(); |
|
|
|
|
stateEventProcessor.init(processInstanceExecMaps); |
|
|
|
|
this.nettyRemotingServer.registerProcessor(CommandType.TASK_EXECUTE_RESPONSE, ackProcessor); |
|
|
|
|
this.nettyRemotingServer.registerProcessor(CommandType.TASK_EXECUTE_ACK, taskResponseProcessor); |
|
|
|
|
this.nettyRemotingServer.registerProcessor(CommandType.TASK_EXECUTE_RESPONSE, taskResponseProcessor); |
|
|
|
|
this.nettyRemotingServer.registerProcessor(CommandType.TASK_EXECUTE_ACK, ackProcessor); |
|
|
|
|
this.nettyRemotingServer.registerProcessor(CommandType.TASK_KILL_RESPONSE, new TaskKillResponseProcessor()); |
|
|
|
|
this.nettyRemotingServer.registerProcessor(CommandType.STATE_EVENT_REQUEST, stateEventProcessor); |
|
|
|
|
this.nettyRemotingServer.start(); |
|
|
|
|