class TunnelGatewayZeroHop extends TunnelGateway
TunnelGateway.DelayedFlush, TunnelGateway.QueuePreprocessor, TunnelGateway.Receiver, TunnelGateway.Sender_context, _delayedFlush, _lastFlush, _log, _messagesSent, _preprocessor, _queue, _receiver, _sender| Constructor and Description |
|---|
TunnelGatewayZeroHop(RouterContext context,
TunnelCreatorConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(I2NPMessage msg,
net.i2p.data.Hash toRouter,
net.i2p.data.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.
|
getMessagesSentpublic 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, net.i2p.data.Hash toRouter, net.i2p.data.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)