Package net.i2p.router.tunnel
Class TunnelParticipant
- java.lang.Object
-
- net.i2p.router.tunnel.TunnelParticipant
-
class TunnelParticipant extends Object
Participate in a tunnel at a location other than the gateway or outbound endpoint. This participant should be provided with the necessary processor if it is an inbound tunnel endpoint, and that will enable the InboundMessageDistributor to receive defragmented and decrypted messages, which it will then selectively forward.
-
-
Constructor Summary
Constructors Constructor Description TunnelParticipant(RouterContext ctx, HopConfig config, HopProcessor processor)
not an inbound endpointTunnelParticipant(RouterContext ctx, InboundEndpointProcessor inEndProc)
inbound endpoint
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispatch(TunnelDataMessage msg, Hash recvFrom)
int
getCompleteCount()
getCompleteCountint
getFailedCount()
String
toString()
-
-
-
Constructor Detail
-
TunnelParticipant
public TunnelParticipant(RouterContext ctx, HopConfig config, HopProcessor processor)
not an inbound endpoint
-
TunnelParticipant
public TunnelParticipant(RouterContext ctx, InboundEndpointProcessor inEndProc)
inbound endpoint
-
-
Method Detail
-
dispatch
public void dispatch(TunnelDataMessage msg, Hash recvFrom)
-
getCompleteCount
public int getCompleteCount()
getCompleteCount
-
getFailedCount
public int getFailedCount()
-
-