Packages that use I2CPMessageReader
Package
Description
Internal implementation of the I2P client SDK - the client side of the Invisible Internet Client Protocol (I2CP), separating implementation from the interfaces in
net.i2p.client. The Invisible Internet Client Protocol (I2CP) allows applications simplified access to I2P network without requiring them to deal with the issues involved with the Invisible Internet Network Protocol (I2NP).
Internal communication between a router and a client running in the same JVM, using queues instead of socket-based I2CP (the Invisible Internet Client Protocol), to avoid the serialization and socket overhead.
Router-side implementation of the Invisible Internet Client Protocol (I2CP): client sessions over plain or TLS sockets, message delivery, and lease and tunnel management on behalf of clients.
Uses of I2CPMessageReader in net.i2p.client.impl
Fields in net.i2p.client.impl declared as I2CPMessageReaderModifier and TypeFieldDescriptionprotected I2CPMessageReaderI2PSessionImpl._readerReader that always searches for messages.Methods in net.i2p.client.impl with parameters of type I2CPMessageReaderModifier and TypeMethodDescriptionvoidI2PSessionImpl.disconnected(I2CPMessageReader reader) The I2CPMessageEventListener callback.voidI2PSessionImpl.messageReceived(I2CPMessageReader reader, I2CPMessage message) The I2CPMessageEventListener callback.voidI2PSessionImpl.readError(I2CPMessageReader reader, Exception error) The I2CPMessageEventListener callback.Uses of I2CPMessageReader in net.i2p.data.i2cp
Methods in net.i2p.data.i2cp with parameters of type I2CPMessageReaderModifier and TypeMethodDescriptionvoidI2CPMessageReader.I2CPMessageEventListener.disconnected(I2CPMessageReader reader) Notify the listener that the stream this reader was reading was closed.voidI2CPMessageReader.I2CPMessageEventListener.messageReceived(I2CPMessageReader reader, I2CPMessage message) Notify the listener that a message has been received from the given reader.voidI2CPMessageReader.I2CPMessageEventListener.readError(I2CPMessageReader reader, Exception error) Notify the listener that an exception was thrown while reading from the given reader.Uses of I2CPMessageReader in net.i2p.internal
Subclasses of I2CPMessageReader in net.i2p.internalModifier and TypeClassDescriptionclassFetches messages off an In-JVM queue, zero-copy.Uses of I2CPMessageReader in net.i2p.router.client
Fields in net.i2p.router.client declared as I2CPMessageReaderModifier and TypeFieldDescriptionprotected I2CPMessageReaderClientConnectionRunner._readerReads and processes incoming I2CP messages from the client.Methods in net.i2p.router.client with parameters of type I2CPMessageReaderModifier and TypeMethodDescriptionvoidClientMessageEventListener.disconnected(I2CPMessageReader reader) voidClientMessageEventListener.messageReceived(I2CPMessageReader reader, I2CPMessage message) Handle an incoming message and dispatch it to the appropriate handler.voidClientMessageEventListener.readError(I2CPMessageReader reader, Exception error) Handle notification that there was an error.