Package | Description |
---|---|
net.i2p.client.impl |
Implements the base I2P SDK for developing applications that communicate
through I2P.
|
net.i2p.data.i2cp |
The Invisible Internet Client Protocol (I2CP) allows applications simplified access to
the I2P network without requiring them to deal with the issues involved with the
Invisible Internet Network Protocol (I2NP).
|
net.i2p.internal |
Interface and classes for a router and client
within the same JVM to directly pass I2CP messages using Queues
instead of serialized messages over socket streams.
|
net.i2p.router.client |
Implements the router side of the I2CP interface,
which is the API for applications to send and receive data through the router.
|
Modifier and Type | Field and Description |
---|---|
protected I2CPMessageReader |
I2PSessionImpl._reader
reader that always searches for messages
|
Modifier and Type | Method and Description |
---|---|
void |
I2PSessionImpl.disconnected(I2CPMessageReader reader)
The I2CPMessageEventListener callback.
|
void |
I2PSessionImpl.messageReceived(I2CPMessageReader reader,
I2CPMessage message)
The I2CPMessageEventListener callback.
|
void |
I2PSessionImpl.readError(I2CPMessageReader reader,
Exception error)
The I2CPMessageEventListener callback.
|
Modifier and Type | Method and Description |
---|---|
void |
I2CPMessageReader.I2CPMessageEventListener.disconnected(I2CPMessageReader reader)
Notify the listener that the stream the given reader was running off
closed
|
void |
I2CPMessageReader.I2CPMessageEventListener.messageReceived(I2CPMessageReader reader,
I2CPMessage message)
Notify the listener that a message has been received from the given
reader
|
void |
I2CPMessageReader.I2CPMessageEventListener.readError(I2CPMessageReader reader,
Exception error)
Notify the listener that an exception was thrown while reading from the given
reader
|
Modifier and Type | Class and Description |
---|---|
class |
QueuedI2CPMessageReader
Get messages off an In-JVM queue, zero-copy.
|
Modifier and Type | Field and Description |
---|---|
protected I2CPMessageReader |
ClientConnectionRunner._reader
thingy that does stuff
|
Modifier and Type | Method and Description |
---|---|
void |
ClientMessageEventListener.disconnected(I2CPMessageReader reader) |
void |
ClientMessageEventListener.messageReceived(I2CPMessageReader reader,
I2CPMessage message)
Handle an incoming message and dispatch it to the appropriate handler
|
void |
ClientMessageEventListener.readError(I2CPMessageReader reader,
Exception error)
Handle notification that there was an error
|