public final class PacketDispatcher extends Object implements Consumer<Packet>
Consumer
that dispatches the Packet
to the right service. For example, operations are sent to the
OperationService
, events are sent to the EventService
etc.Constructor and Description |
---|
PacketDispatcher(ILogger logger,
Consumer<Packet> operationExecutor,
Consumer<Packet> responseHandler,
Consumer<Packet> invocationMonitor,
Consumer<Packet> eventService,
Consumer<Packet> jetPacketConsumer) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Packet packet)
Performs this operation on the given argument.
|
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.