net.i2p.router.networkdb.kademlia
class MessageWrapper extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
MessageWrapper.WrappedMessage
Wrapper so that we can keep track of the key and tags
for later notification to the SKM
|
Constructor and Description |
---|
MessageWrapper() |
Modifier and Type | Method and Description |
---|---|
(package private) static MessageWrapper.WrappedMessage |
wrap(RouterContext ctx,
I2NPMessage m,
Hash from,
RouterInfo to)
Garlic wrap a message from a client or this router, destined for a router,
to hide the contents from the OBEP.
|
static MessageWrapper.WrappedMessage wrap(RouterContext ctx, I2NPMessage m, Hash from, RouterInfo to)
from
- must be a local client with a session key manager,
or null to use the router's session key manager