class InboundSender extends Object implements TunnelGateway.Sender
| Constructor and Description |
|---|
InboundSender(I2PAppContext ctx,
HopConfig config)Binds the given context and hop config for the inbound gateway. |
| Modifier and Type | Method and Description |
|---|---|
long | sendPreprocessed(byte[] preprocessed,
TunnelGateway.Receiver receiver)Encrypt the preprocessed data and forward it to the receiver for delivery. |
public InboundSender(I2PAppContext ctx, HopConfig config)
public long sendPreprocessed(byte[] preprocessed,
TunnelGateway.Receiver receiver)sendPreprocessed in interface TunnelGateway.Senderpreprocessed - the preprocessed datareceiver - the receiver