public final class PacketDispatcher extends Object implements Consumer<Packet>
Consumer
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,
Consumer<Packet> operationExecutor,
Consumer<Packet> responseHandler,
Consumer<Packet> invocationMonitor,
Consumer<Packet> eventService,
Consumer<Packet> connectionManager,
Consumer<Packet> jetService) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Packet packet)
Performs this operation on the given argument.
|
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.