package net.i2p.router.client
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. Not for use by apps, clients or plugins.
- ClassDescriptionBridge the router and the client - managing state for a client.For multisession.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 tasks.Job delivering a message to a local destination.Base impl of the client facade.Receive events from the client and handle them accordingly (updating the runner when necessary).Outcome of validating a client-supplied receive request against the state the router holds for this connection.Writes I2CP messages to a client asynchronously, so a hung client app cannot take down the whole router.Given an established connection, walk through the process of establishing the leaseset.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 client.Look 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 client.Async job to walk the client through generating a lease set.SSL version of ClientListenerRunner.