Package | Description |
---|---|
net.i2p.router.tunnel |
Modifier and Type | Class and Description |
---|---|
class |
InboundGatewayReceiver |
(package private) class |
OutboundReceiver
Receive the outbound message after it has been preprocessed and encrypted,
then forward it on to the first hop in the tunnel.
|
Modifier and Type | Field and Description |
---|---|
protected TunnelGateway.Receiver |
TunnelGateway._receiver |
Modifier and Type | Method and Description |
---|---|
boolean |
TrivialPreprocessor.preprocessQueue(List<TunnelGateway.Pending> pending,
TunnelGateway.Sender sender,
TunnelGateway.Receiver rec)
Return true if there were messages remaining, and we should queue up
a delayed flush to clear them
NOTE: Unused here, see BatchedPreprocessor override, super is not called.
|
boolean |
TunnelGateway.QueuePreprocessor.preprocessQueue(List<TunnelGateway.Pending> pending,
TunnelGateway.Sender sender,
TunnelGateway.Receiver receiver)
Caller must synchronize on the list!
|
boolean |
BatchedPreprocessor.preprocessQueue(List<TunnelGateway.Pending> pending,
TunnelGateway.Sender sender,
TunnelGateway.Receiver rec) |
protected void |
BatchedPreprocessor.send(List<TunnelGateway.Pending> pending,
int startAt,
int sendThrough,
TunnelGateway.Sender sender,
TunnelGateway.Receiver rec)
Preprocess the messages from the pending list, grouping items startAt
through sendThrough (though only part of the last one may be fully
sent), delivering them through the sender/receiver.
|
long |
OutboundSender.sendPreprocessed(byte[] preprocessed,
TunnelGateway.Receiver receiver) |
long |
TunnelGateway.Sender.sendPreprocessed(byte[] preprocessed,
TunnelGateway.Receiver receiver)
Take the preprocessed data containing zero or more fragments, encrypt
it, and pass it on to the receiver
|
long |
InboundSender.sendPreprocessed(byte[] preprocessed,
TunnelGateway.Receiver receiver) |
Constructor and Description |
---|
PumpedTunnelGateway(RouterContext context,
TunnelGateway.QueuePreprocessor preprocessor,
TunnelGateway.Sender sender,
TunnelGateway.Receiver receiver,
TunnelGatewayPumper pumper) |
ThrottledPumpedTunnelGateway(RouterContext context,
TunnelGateway.QueuePreprocessor preprocessor,
TunnelGateway.Sender sender,
TunnelGateway.Receiver receiver,
TunnelGatewayPumper pumper,
HopConfig config) |
TunnelGateway(RouterContext context,
TunnelGateway.QueuePreprocessor preprocessor,
TunnelGateway.Sender sender,
TunnelGateway.Receiver receiver) |