## Uses of Interface
net.i2p.router.tunnel.TunnelGateway.Sender

- Packages that use TunnelGateway.Sender
  Package | Description
  --- | ---
  net.i2p.router.tunnel | Core tunnel management, message processing, and encryption for I2P's anonymous routing system.

- - ### Uses of TunnelGateway.Sender in net.i2p.router.tunnel

    Classes in net.i2p.router.tunnel that implement TunnelGateway.Sender
    Modifier and Type | Class and Description
    --- | ---
    `(package private) class` | `InboundSender` Receive the preprocessed data for an inbound gateway, encrypt it, and forward it on to the first hop.
    `(package private) class` | `OutboundSender` Receive 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.Sender
    Modifier and Type | Field and Description
    --- | ---
    `protected TunnelGateway.Sender` | TunnelGateway.`_sender`

    Methods in net.i2p.router.tunnel with parameters of type TunnelGateway.Sender
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | TrivialPreprocessor.`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 them NOTE: Unused here, see BatchedPreprocessor override, super is not called.
    `boolean` | TunnelGateway.QueuePreprocessor.`preprocessQueue(List<PendingGatewayMessage> pending, TunnelGateway.Sender sender, TunnelGateway.Receiver receiver)` Caller must synchronize on the list!
    `boolean` | BatchedPreprocessor.`preprocessQueue(List<PendingGatewayMessage> pending, TunnelGateway.Sender sender, TunnelGateway.Receiver rec)`
    `protected void` | BatchedPreprocessor.`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.Sender
    Constructor and Description
    `PumpedTunnelGateway(RouterContext context, TunnelGateway.QueuePreprocessor preprocessor, TunnelGateway.Sender sender, TunnelGateway.Receiver receiver, TunnelGatewayPumper pumper)` Constructs a PumpedTunnelGateway instance.
    `ThrottledPumpedTunnelGateway(RouterContext context, TunnelGateway.QueuePreprocessor preprocessor, TunnelGateway.Sender sender, TunnelGateway.Receiver receiver, TunnelGatewayPumper pumper, HopConfig config)` Constructs a ThrottledPumpedTunnelGateway with bandwidth throttling.
    `TunnelGateway(RouterContext context, TunnelGateway.QueuePreprocessor preprocessor, TunnelGateway.Sender sender, TunnelGateway.Receiver receiver)`