Package net.i2p.router.client
package 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. The client side of the interface is implemented in net.i2p.client.
-
ClassDescriptionBridge the router and the client - managing state for a client.Listen for connections on the specified port, and toss them onto the client manager's set of connections once they are established.Coordinate connections and various tasksBase impl of the client facadeReceive events from the client and handle them accordingly (updating the runner when necessary)Async writer class so that if a client app hangs, they wont take down the whole router with them (since otherwise the JobQueue would block until the client reads from their i2cp socket, causing all sorts of bad things to happen) For external I2CP connections only.Given an established connection, walk through the process of establishing the lease set.Contains the methods to talk to a router or client via I2CP, when both are in the same JVM.Bundle up the data points necessary when asynchronously requesting a lease from a clientLook up the lease of a hash, to convert it to a Destination for the client.Async job to notify the client that a new message is available for them, or just send it directly if specified.Zero-copy in-JVM.Async job to send an abuse message to the clientAsync job to walk the client through generating a lease set.SSL version of ClientListenerRunner