Package net.i2p.router.transport.udp
Class MessageReceiver
java.lang.Object
net.i2p.router.transport.udp.MessageReceiver
Pull fully completed fragments off the
InboundMessageFragments
queue,
parse 'em into I2NPMessages, and stick them on the
InNetMessagePool
by way of the UDPTransport
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
loop
(I2NPMessageHandler handler) void
This queues the message for processing.void
shutdown()
void
startup()
-
Constructor Details
-
MessageReceiver
-
-
Method Details
-
startup
public void startup() -
shutdown
public void shutdown() -
receiveMessage
This queues the message for processing. Processing will call state.releaseResources(), do not access state after calling this. BLOCKING if queue is full. -
loop
-