|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.router.message.OutboundClientMessageJobHelper
class OutboundClientMessageJobHelper
Handle a particular client message that is destined for a remote destination.
Constructor Summary | |
---|---|
OutboundClientMessageJobHelper()
|
Method Summary | |
---|---|
(package private) static PayloadGarlicConfig |
buildDataClove(RouterContext ctx,
Payload data,
Destination dest,
long expiration)
Build a clove that sends the payload to the destination |
(package private) static PayloadGarlicConfig |
buildLeaseSetClove(RouterContext ctx,
long expiration,
LeaseSet replyLeaseSet)
Build a clove that stores the leaseSet locally |
(package private) static GarlicMessage |
createGarlicMessage(RouterContext ctx,
long replyToken,
long expiration,
PublicKey recipientPK,
PayloadGarlicConfig dataClove,
Hash from,
Destination dest,
TunnelInfo replyTunnel,
SessionKey wrappedKey,
java.util.Set wrappedTags,
boolean requireAck,
LeaseSet bundledReplyLeaseSet)
Allow the app to specify the data clove directly, which enables OutboundClientMessage to resend the same payload (including expiration and unique id) in different garlics (down different tunnels) |
(package private) static GarlicMessage |
createGarlicMessage(RouterContext ctx,
long replyToken,
long expiration,
PublicKey recipientPK,
Payload data,
Hash from,
Destination dest,
TunnelInfo replyTunnel,
SessionKey wrappedKey,
java.util.Set wrappedTags,
boolean requireAck,
LeaseSet bundledReplyLeaseSet)
Build a garlic message that will be delivered to the router on which the target is located. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
OutboundClientMessageJobHelper()
Method Detail |
---|
static GarlicMessage createGarlicMessage(RouterContext ctx, long replyToken, long expiration, PublicKey recipientPK, Payload data, Hash from, Destination dest, TunnelInfo replyTunnel, SessionKey wrappedKey, java.util.Set wrappedTags, boolean requireAck, LeaseSet bundledReplyLeaseSet)
bundledReplyLeaseSet
- if specified, the given LeaseSet will be packaged with the message (allowing
much faster replies, since their netDb search will return almost instantly)
static GarlicMessage createGarlicMessage(RouterContext ctx, long replyToken, long expiration, PublicKey recipientPK, PayloadGarlicConfig dataClove, Hash from, Destination dest, TunnelInfo replyTunnel, SessionKey wrappedKey, java.util.Set wrappedTags, boolean requireAck, LeaseSet bundledReplyLeaseSet)
static PayloadGarlicConfig buildDataClove(RouterContext ctx, Payload data, Destination dest, long expiration)
static PayloadGarlicConfig buildLeaseSetClove(RouterContext ctx, long expiration, LeaseSet replyLeaseSet)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |