Package net.i2p.router.tunnel
Class InboundMessageDistributor
java.lang.Object
net.i2p.router.tunnel.InboundMessageDistributor
- All Implemented Interfaces:
GarlicMessageReceiver.CloveReceiver
When a message arrives at the inbound tunnel endpoint, this distributor
honors the instructions (safely)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
distribute
(I2NPMessage msg, Hash target) void
distribute
(I2NPMessage msg, Hash target, TunnelId tunnel) void
handleClove
(DeliveryInstructions instructions, I2NPMessage data) Handle a clove removed from the garlic message
-
Constructor Details
-
InboundMessageDistributor
- Parameters:
client
- null for router tunnel
-
-
Method Details
-
distribute
-
distribute
-
handleClove
Handle a clove removed from the garlic message- Specified by:
handleClove
in interfaceGarlicMessageReceiver.CloveReceiver
-