class OutboundReceiver extends Object implements TunnelGateway.Receiver
Constructor and Description |
---|
OutboundReceiver(RouterContext ctx,
TunnelCreatorConfig 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
|
public OutboundReceiver(RouterContext ctx, TunnelCreatorConfig cfg)
public long receiveEncrypted(byte[] encrypted)
TunnelGateway.Receiver
receiveEncrypted
in interface TunnelGateway.Receiver
public Hash getSendTo()
getSendTo
in interface TunnelGateway.Receiver