class MessageReceiver extends Object
InboundMessageFragments
queue,
parse 'em into I2NPMessages, and stick them on the
InNetMessagePool
by way of the UDPTransport
.Constructor and Description |
---|
MessageReceiver(RouterContext ctx,
UDPTransport transport) |
Modifier and Type | Method and Description |
---|---|
void |
loop(I2NPMessageHandler handler) |
void |
receiveMessage(InboundMessageState state)
This queues the message for processing.
|
void |
shutdown() |
void |
startup() |
public MessageReceiver(RouterContext ctx, UDPTransport transport)
public void startup()
public void shutdown()
public void receiveMessage(InboundMessageState state)
public void loop(I2NPMessageHandler handler)