use of com.hazelcast.client.spi.ClientInvocationService in project hazelcast by hazelcast.
the class ClientConnectionManagerImpl method handleClientMessage.
@Override
public void handleClientMessage(ClientMessage message, Connection connection) {
ClientConnection conn = (ClientConnection) connection;
ClientInvocationService invocationService = client.getInvocationService();
conn.incrementPendingPacketCount();
if (message.isFlagSet(ClientMessage.LISTENER_EVENT_FLAG)) {
ClientListenerServiceImpl listenerService = (ClientListenerServiceImpl) client.getListenerService();
listenerService.handleClientMessage(message, connection);
} else {
invocationService.handleClientMessage(message, connection);
}
}
Aggregations