Interface TunnelGateway.Receiver

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

public static interface TunnelGateway.Receiver
  • Method Summary

    Modifier and Type
    Method
    Description
    The next hop
    long
    receiveEncrypted(byte[] encrypted)
    Take the encrypted data and send it off to the next hop
  • Method Details

    • receiveEncrypted

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

      Hash getSendTo()
      The next hop
      Returns:
      non-null
      Since:
      0.9.3