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
Modifier and Type Method Description void
dispatch(TunnelDataMessage msg, Hash recvFrom)
int
getCompleteCount()
getCompleteCountint
getFailedCount()
String
toString()
-
Constructor Details
-
TunnelParticipant
not an inbound endpoint -
TunnelParticipant
inbound endpoint
-
-
Method Details
-
dispatch
-
getCompleteCount
public int getCompleteCount()getCompleteCount -
getFailedCount
public int getFailedCount() -
toString
-