Search in sources :

Example 1 with PacketDecoder

use of com.hazelcast.internal.server.tcp.PacketDecoder in project hazelcast by hazelcast.

the class DefaultNodeExtension method createInboundHandlers.

@Override
public InboundHandler[] createInboundHandlers(EndpointQualifier qualifier, ServerConnection connection, ServerContext serverContext) {
    NodeEngineImpl nodeEngine = node.nodeEngine;
    PacketDecoder decoder = new PacketDecoder(connection, nodeEngine.getPacketDispatcher());
    return new InboundHandler[] { decoder };
}
Also used : NodeEngineImpl(com.hazelcast.spi.impl.NodeEngineImpl) InboundHandler(com.hazelcast.internal.networking.InboundHandler) PacketDecoder(com.hazelcast.internal.server.tcp.PacketDecoder)

Aggregations

InboundHandler (com.hazelcast.internal.networking.InboundHandler)1 PacketDecoder (com.hazelcast.internal.server.tcp.PacketDecoder)1 NodeEngineImpl (com.hazelcast.spi.impl.NodeEngineImpl)1