class OutboundSender extends Object implements TunnelGateway.Sender
| Constructor and Description |
|---|
OutboundSender(I2PAppContext ctx,
TunnelCreatorConfig config) |
| Modifier and Type | Method and Description |
|---|---|
long | sendPreprocessed(byte[] preprocessed,
TunnelGateway.Receiver receiver)Encrypt and forward preprocessed data to the receiver. |
public OutboundSender(I2PAppContext ctx, TunnelCreatorConfig config)
ctx - the contextconfig - the tunnel creator configpublic long sendPreprocessed(byte[] preprocessed,
TunnelGateway.Receiver receiver)TunnelGateway.SendersendPreprocessed in interface TunnelGateway.Senderpreprocessed - the preprocessed datareceiver - the receiver