- All Known Implementing Classes:
OutboundTunnelEndpoint.DefragmentedHandler, TunnelParticipant.DefragmentedHandler
- Enclosing class:
FragmentHandler
public static interface FragmentHandler.DefragmentedReceiver
Receive messages out of the tunnel endpoint. There should be a single instance of this object per tunnel so that it can tell what tunnel various messages come in on (e.g. to prevent DataMessages arriving from anywhere other than the client's inbound tunnels).
Method Summary
All MethodsModifier and TypeMethodDescriptionvoidreceiveComplete(I2NPMessage msg, Hash toRouter, TunnelId toTunnel) Receive a fully formed I2NPMessage out of the tunnel.
Method Details
receiveComplete
Receive a fully formed I2NPMessage out of the tunnel.- Parameters:
msg- the reassembled I2NP messagetoRouter- where we are told to send the message (null means locally)toTunnel- where we are told to send the message (null means locally or to the specified router)