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 Details

    • sendPreprocessed

      long sendPreprocessed(byte[] preprocessed, TunnelGateway.Receiver receiver)
      Encrypt and forward preprocessed data to the receiver.
      Parameters:
      preprocessed - the preprocessed data
      receiver - the gateway end that will accept the encrypted data
      Returns:
      message ID it was sent in, or -1 if it was deferred