net.i2p.router.transport
public class OutboundMessageRegistry extends Object
Constructor and Description |
---|
OutboundMessageRegistry(RouterContext context) |
Modifier and Type | Method and Description |
---|---|
List |
getOriginalMessages(I2NPMessage message)
Retrieve all messages that are waiting for the specified message.
|
OutNetMessage |
registerPending(MessageSelector replySelector,
ReplyJob onReply,
Job onTimeout,
int timeoutMs) |
void |
registerPending(OutNetMessage msg) |
void |
registerPending(OutNetMessage msg,
boolean allowEmpty) |
void |
renderStatusHTML(Writer out) |
void |
shutdown() |
void |
unregisterPending(OutNetMessage msg) |
public OutboundMessageRegistry(RouterContext context)
public void shutdown()
public List getOriginalMessages(I2NPMessage message)
message
- Payload received that may be a reply to something we sentpublic OutNetMessage registerPending(MessageSelector replySelector, ReplyJob onReply, Job onTimeout, int timeoutMs)
public void registerPending(OutNetMessage msg)
public void registerPending(OutNetMessage msg, boolean allowEmpty)
public void unregisterPending(OutNetMessage msg)
public void renderStatusHTML(Writer out) throws IOException
IOException