class TunnelGatewayZeroHop extends TunnelGateway
TunnelGateway.DelayedFlush, TunnelGateway.QueuePreprocessor, TunnelGateway.Receiver, TunnelGateway.Sender_context, _delayedFlush, _lastFlush, _log, _messagesSent, _preprocessor, _queue, _receiver, _sender| Constructor | Description |
|---|---|
TunnelGatewayZeroHop(RouterContext context,
TunnelCreatorConfig config) |
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMessagesSentpublic TunnelGatewayZeroHop(RouterContext context, TunnelCreatorConfig config)
public void add(TunnelGatewayMessage msg)
add in class TunnelGatewaymsg - message received to be sent through the tunnelpublic void add(I2NPMessage msg, Hash toRouter, TunnelId toTunnel)
InboundMessageDistributor or OutboundMessageDistributor, as
necessary).add in class TunnelGatewaymsg - 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)