class InboundGatewayReceiver extends Object implements TunnelGateway.Receiver
Constructor and Description |
---|
InboundGatewayReceiver(RouterContext ctx,
HopConfig cfg) |
Modifier and Type | Method and Description |
---|---|
Hash |
getSendTo()
The next hop
|
long |
receiveEncrypted(byte[] encrypted)
Take the encrypted data and send it off to the next hop
|
long |
receiveEncrypted(byte[] encrypted,
boolean alreadySearched) |
public InboundGatewayReceiver(RouterContext ctx, HopConfig cfg)
public long receiveEncrypted(byte[] encrypted)
TunnelGateway.Receiver
receiveEncrypted
in interface TunnelGateway.Receiver
public long receiveEncrypted(byte[] encrypted, boolean alreadySearched)
public Hash getSendTo()
getSendTo
in interface TunnelGateway.Receiver