use of com.hazelcast.client.impl.protocol.task.PingMessageTask in project hazelcast by hazelcast.
the class DefaultMessageTaskFactoryProvider method initializeGeneralTaskFactories.
private void initializeGeneralTaskFactories() {
factories.put(ClientAddPartitionLostListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new AddPartitionLostListenerMessageTask(cm, node, con));
factories.put(ClientRemovePartitionLostListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new RemovePartitionLostListenerMessageTask(cm, node, con));
factories.put(ClientAddMigrationListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new AddMigrationListenerMessageTask(cm, node, con));
factories.put(ClientRemoveMigrationListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new RemoveMigrationListenerMessageTask(cm, node, con));
factories.put(ClientCreateProxyCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CreateProxyMessageTask(cm, node, con));
factories.put(ClientGetDistributedObjectsCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new GetDistributedObjectsMessageTask(cm, node, con));
factories.put(ClientAddDistributedObjectListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new AddDistributedObjectListenerMessageTask(cm, node, con));
factories.put(ClientDestroyProxyCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new DestroyProxyMessageTask(cm, node, con));
factories.put(ClientPingCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new PingMessageTask(cm, node, con));
factories.put(ClientAddClusterViewListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new AddClusterViewListenerMessageTask(cm, node, con));
factories.put(ClientAuthenticationCustomCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new AuthenticationCustomCredentialsMessageTask(cm, node, con));
factories.put(ClientRemoveDistributedObjectListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new RemoveDistributedObjectListenerMessageTask(cm, node, con));
factories.put(ClientAuthenticationCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new AuthenticationMessageTask(cm, node, con));
factories.put(ClientStatisticsCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new ClientStatisticsMessageTask(cm, node, con));
factories.put(ClientDeployClassesCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new DeployClassesMessageTask(cm, node, con));
factories.put(ClientCreateProxiesCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new CreateProxiesMessageTask(cm, node, con));
factories.put(ClientLocalBackupListenerCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new AddBackupListenerMessageTask(cm, node, con));
factories.put(ClientTriggerPartitionAssignmentCodec.REQUEST_MESSAGE_TYPE, (cm, con) -> new TriggerPartitionAssignmentMessageTask(cm, node, con));
}
Aggregations