Packages that use TunnelGateway.Sender
Package
Description
Tunnel messages and the tunnel layer: the
TunnelManagerFacade, tunnel build request and reply processing, and the inbound and outbound tunnel structures.Uses of TunnelGateway.Sender in net.i2p.router.tunnel
Classes in net.i2p.router.tunnel that implement TunnelGateway.SenderModifier and TypeClassDescription(package private) classReceive the preprocessed data for an inbound gateway, encrypt it, and forward it on to the first hop.(package private) classReceive the preprocessed data for an outbound gateway, encrypt all of the layers, and forward it on to the first hop.Fields in net.i2p.router.tunnel declared as TunnelGateway.SenderModifier and TypeFieldDescriptionprotected final TunnelGateway.SenderTunnelGateway._senderThe message sender, encrypting and forwarding preprocessed messages.Methods in net.i2p.router.tunnel with parameters of type TunnelGateway.SenderModifier and TypeMethodDescriptionprivate booleanBatchedPreprocessor.preprocessAndSend(List<PendingGatewayMessage> pending, TunnelGateway.Sender sender, TunnelGateway.Receiver rec) Body ofBatchedPreprocessor.preprocessQueue(List, TunnelGateway.Sender, TunnelGateway.Receiver), split out so the per-flush stat batches are flushed on every return path.booleanBatchedPreprocessor.preprocessQueue(List<PendingGatewayMessage> pending, TunnelGateway.Sender sender, TunnelGateway.Receiver rec) booleanTrivialPreprocessor.preprocessQueue(List<PendingGatewayMessage> pending, TunnelGateway.Sender sender, TunnelGateway.Receiver rec) Return true if there were messages remaining, and we should queue up a delayed flush to clear thembooleanTunnelGateway.QueuePreprocessor.preprocessQueue(List<PendingGatewayMessage> pending, TunnelGateway.Sender sender, TunnelGateway.Receiver receiver) Caller must synchronize on the list!protected voidBatchedPreprocessor.send(List<PendingGatewayMessage> 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.Constructors in net.i2p.router.tunnel with parameters of type TunnelGateway.SenderModifierConstructorDescriptionPumpedTunnelGateway(RouterContext context, TunnelGateway.QueuePreprocessor preprocessor, TunnelGateway.Sender sender, TunnelGateway.Receiver receiver, TunnelGatewayPumper pumper) A gateway for a single tunnel hop.ThrottledPumpedTunnelGateway(RouterContext context, TunnelGateway.QueuePreprocessor preprocessor, TunnelGateway.Sender sender, TunnelGateway.Receiver receiver, TunnelGatewayPumper pumper, HopConfig config) A pump-driven gateway that drops excess messages based on estimated bandwidth.protectedTunnelGateway(RouterContext context, TunnelGateway.QueuePreprocessor preprocessor, TunnelGateway.Sender sender, TunnelGateway.Receiver receiver) Creates a new TunnelGateway.