Uses of Class
net.i2p.data.i2np.I2NPMessageHandler
Package | Description |
---|---|
net.i2p.data.i2np |
This package defines the low-level messages sent between routers,
called the Invisible Internet Network Protocol (I2NP).
|
net.i2p.router.transport.udp |
The UDP transport (also known as 'SSU transport') allows passing I2P messages on top of UDP.
|
-
Uses of I2NPMessageHandler in net.i2p.data.i2np
Methods in net.i2p.data.i2np with parameters of type I2NPMessageHandler Modifier and Type Method Description static I2NPMessage
I2NPMessageImpl. fromRawByteArray(I2PAppContext ctx, byte[] buffer, int offset, int len, I2NPMessageHandler handler)
Read the message with a short 5-byte header.static I2NPMessage
I2NPMessageImpl. fromRawByteArrayNTCP2(I2PAppContext ctx, byte[] buffer, int offset, int len, I2NPMessageHandler handler)
Read the message with a short 9-byte header.void
I2NPMessage. readMessage(byte[] data, int offset, int dataSize, int type, I2NPMessageHandler handler)
void
I2NPMessageImpl. readMessage(byte[] data, int offset, int dataSize, int type, I2NPMessageHandler handler)
void
TunnelGatewayMessage. readMessage(byte[] data, int offset, int dataSize, int type, I2NPMessageHandler handler)
Note that for efficiency at the IBGW, this does not fully deserialize the included I2NP Message. -
Uses of I2NPMessageHandler in net.i2p.router.transport.udp
Methods in net.i2p.router.transport.udp with parameters of type I2NPMessageHandler Modifier and Type Method Description void
MessageReceiver. loop(I2NPMessageHandler handler)