All Known Implementing Classes:
InboundGatewayReceiver, OutboundReceiver
Enclosing class:
TunnelGateway

public static interface TunnelGateway.Receiver
Interface for receiving encrypted tunnel data. Handles delivery of encrypted messages to the next hop in the tunnel.
  • Method Summary

    All Methods
    Modifier and Type
    Method
    Description
    Tunnel the message should be sent through.
    long
    receiveEncrypted(byte[] encrypted)
    Forward encrypted data to the next hop.
  • Method Details

    • receiveEncrypted

      long receiveEncrypted(byte[] encrypted)
      Forward encrypted data to the next hop.
      Parameters:
      encrypted - the encrypted data
      Returns:
      message ID it was sent in, or -1 if it had to be deferred
    • getSendTo

      Hash getSendTo()
      Tunnel the message should be sent through.
      Returns:
      non-null