this.clientMappingRegistryCollector = clientMappingRegistryCollector;
this.remoteAsyncInvocationCancelStatus = asyncInvocationCancelStatusService;
}
public void startReceiving() {
final Channel channel = this.channelAssociation.getChannel();
channel.addCloseHandler(new ChannelCloseHandler());
channel.receiveMessage(this);
// listen to module availability/unavailability events
this.deploymentRepository.addListener(this);
// listen to new clusters (a.k.a groups) being started/stopped
this.clientMappingRegistryCollector.addListener(this);
// Send the cluster topology for existing clusters in the registry