TunnelGateway.Receiverclass InboundGatewayReceiver extends Object implements TunnelGateway.Receiver
| Constructor | Description |
|---|---|
InboundGatewayReceiver(RouterContext ctx,
HopConfig cfg) |
| Modifier and Type | Method | 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.ReceiverreceiveEncrypted in interface TunnelGateway.Receiverpublic long receiveEncrypted(byte[] encrypted,
boolean alreadySearched)
public Hash getSendTo()
getSendTo in interface TunnelGateway.Receiver