Implements the base I2P SDK for developing applications that communicate through I2P.
These classes are for implementing the client side of I2CP and are not to be used externally. Subject to change and not part of the public API. Moved from net.i2p.client in 0.9.21.
Interface Summary Interface Description I2CPMessageHandlerDefine a way to handle a particular type of message
Class Summary Class Description BWLimitsMessageHandlerHandle I2CP BW replies from the router ClientWriterRunnerCopied from net.i2p.router.client We need a single thread that writes so we don't have issues with the Piped Streams used in InternalSocket. DestReplyMessageHandlerHandle I2CP dest replies from the router DisconnectMessageHandlerHandle I2CP disconnect messages from the router HandlerImplBase class for handling I2CP messages HostReplyMessageHandlerHandle I2CP dest replies from the router I2CPMessageProducerProduce the various messages the session needs to send to the router. I2PClientImplBase client implementation. I2PClientMessageHandlerMapContains a map of message handlers that a session will want to use I2PSessionDemultiplexerImplement multiplexing with a 1-byte 'protocol' and a two-byte 'port'. I2PSessionImplImplementation of an I2P session running over TCP. I2PSessionImpl2Thread safe implementation of an I2P session running over TCP. I2PSessionMuxedImplI2PSession with protocol and ports Streaming lib has been modified to send I2PSession.PROTO_STREAMING but still receives all. I2PSimpleSessionCreate a new session for doing naming and bandwidth queries only. LkupResultThe return value of I2PSession.lookupDest2() MessagePayloadMessageHandlerHandle I2CP MessagePayloadMessages from the router delivering the contents of a message by accepting it, decrypting the payload, adding it to the set of recieved messages, and telling the router that it has been recieved correctly. MessageStateContains the state of a payload message being sent to a peer. MessageStatusMessageHandlerHandle I2CP MessageStatusMessages from the router. RequestLeaseSetMessageHandlerHandle I2CP RequestLeaseSetMessage from the router by granting all leases, using the specified expiration time for each lease. RequestVariableLeaseSetMessageHandlerHandle I2CP RequestVariableLeaseSetMessage from the router by granting all leases, retaining the individual expiration time for each lease. SessionIdleTimerReduce tunnels or shutdown the session on idle if so configured SessionStatusMessageHandlerHandle I2CP SessionStatusMessagese from the router, updating the session as necssary. SetDateMessageHandlerHandle I2CP time messages from the router SubSessionAn additional session using another session's connection.
Enum Summary Enum Description I2PSessionImpl.State