|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.router.tunnel.TunnelGateway
net.i2p.router.tunnel.TunnelGatewayZeroHop
Serve as the gatekeeper for a tunnel with no hops.
Nested Class Summary |
Nested classes inherited from class net.i2p.router.tunnel.TunnelGateway |
TunnelGateway.Pending, TunnelGateway.QueuePreprocessor, TunnelGateway.Receiver, TunnelGateway.Sender |
Constructor Summary | |
TunnelGatewayZeroHop(RouterContext context,
TunnelCreatorConfig config)
|
Method Summary | |
void |
add(I2NPMessage msg,
Hash toRouter,
TunnelId toTunnel)
Add a message to be sent down the tunnel (immediately forwarding it to the InboundMessageDistributor or OutboundMessageDistributor , as
necessary). |
void |
add(TunnelGatewayMessage msg)
Add a message to be sent down the tunnel, where we are the inbound gateway. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TunnelGatewayZeroHop(RouterContext context, TunnelCreatorConfig config)
Method Detail |
public void add(TunnelGatewayMessage msg)
add
in class TunnelGateway
msg
- message received to be sent through the tunnelpublic void add(I2NPMessage msg, Hash toRouter, TunnelId toTunnel)
InboundMessageDistributor
or OutboundMessageDistributor
, as
necessary).
add
in class TunnelGateway
msg
- message to be sent through the tunneltoRouter
- router to send to after the endpoint (or null for endpoint processing)toTunnel
- tunnel to send to after the endpoint (or null for endpoint or router processing)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |