class ThrottledPumpedTunnelGateway extends PumpedTunnelGateway
TunnelGateway.DelayedFlush, TunnelGateway.QueuePreprocessor, TunnelGateway.Receiver, TunnelGateway.Sender
_context, _delayedFlush, _lastFlush, _log, _messagesSent, _preprocessor, _queue, _receiver, _sender
コンストラクタ | 説明 |
---|---|
ThrottledPumpedTunnelGateway(RouterContext context,
TunnelGateway.QueuePreprocessor preprocessor,
TunnelGateway.Sender sender,
TunnelGateway.Receiver receiver,
TunnelGatewayPumper pumper,
HopConfig config) |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
void |
add(I2NPMessage msg,
Hash toRouter,
TunnelId toTunnel) |
Possibly drop a message due to bandwidth before adding it to the preprocessor queue.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, pump
add, getMessagesSent
public ThrottledPumpedTunnelGateway(RouterContext context, TunnelGateway.QueuePreprocessor preprocessor, TunnelGateway.Sender sender, TunnelGateway.Receiver receiver, TunnelGatewayPumper pumper, HopConfig config)
public void add(I2NPMessage msg, Hash toRouter, TunnelId toTunnel)
add
クラス内 PumpedTunnelGateway
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)public java.lang.String toString()
toString
クラス内 java.lang.Object