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)Forward encrypted data to the next hop. |
long | receiveEncrypted(byte[] encrypted,
boolean alreadySearched)receiveEncrypted. |
public InboundGatewayReceiver(RouterContext ctx, HopConfig cfg)
ctx - the router contextcfg - the hop configurationpublic Hash getSendTo()
getSendTo in interface TunnelGateway.Receiverpublic long receiveEncrypted(byte[] encrypted)
TunnelGateway.ReceiverreceiveEncrypted in interface TunnelGateway.Receiverencrypted - the encrypted datapublic long receiveEncrypted(byte[] encrypted,
boolean alreadySearched)