- All Known Implementing Classes:
InboundSender, OutboundSender
- Enclosing class:
TunnelGateway
public static interface TunnelGateway.Sender
Interface for sending preprocessed tunnel data. Handles encryption and forwarding of preprocessed messages to the receiver.
Method Summary
All MethodsModifier and TypeMethodDescriptionlongsendPreprocessed(byte[] preprocessed, TunnelGateway.Receiver receiver) Encrypt and forward preprocessed data to the receiver.
Method Details
sendPreprocessed
Encrypt and forward preprocessed data to the receiver.- Parameters:
preprocessed- the preprocessed datareceiver- the gateway end that will accept the encrypted data- Returns:
- message ID it was sent in, or -1 if it was deferred