public final class PacketDispatcher extends Object implements PacketHandler
PacketHandler
that dispatches the Packet
to the right service. So operations are send to the
OperationService
, events are send to the EventService
etc.Constructor and Description |
---|
PacketDispatcher(ILogger logger,
PacketHandler operationExecutor,
PacketHandler responseHandler,
PacketHandler invocationMonitor,
PacketHandler eventService,
PacketHandler connectionManager,
PacketHandler jetService) |
Modifier and Type | Method and Description |
---|---|
void |
handle(Packet packet)
Signals the PacketHandler that there is a packet to be handled.
|
public PacketDispatcher(ILogger logger, PacketHandler operationExecutor, PacketHandler responseHandler, PacketHandler invocationMonitor, PacketHandler eventService, PacketHandler connectionManager, PacketHandler jetService)
public void handle(Packet packet) throws Exception
PacketHandler
handle
in interface PacketHandler
packet
- the response packet to handleException
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.