| Package | Description |
|---|---|
| net.i2p.router.client | Router-side implementation of the I2CP (I2P Client Protocol) interface for application integration. |
| Modifier and Type | Class and Description |
|---|---|
(package private) class | QueuedClientConnectionRunnerZero-copy in-JVM. |
| Modifier and Type | Field and Description |
|---|---|
protected ClientConnectionRunner | ClientMessageEventListener._runnerthe client connection runner |
| Modifier and Type | Method and Description |
|---|---|
(package private) ClientConnectionRunner | ClientManager.getRunner(Destination dest)Unsynchronized |
| Modifier and Type | Method and Description |
|---|---|
int | ClientManager.destinationEstablished(ClientConnectionRunner runner,
Destination dest)Add to the clients list. |
(package private) void | ClientManager.distributeMessage(ClientConnectionRunner sender,
Destination fromDest,
Destination toDest,
Payload payload,
MessageId msgId,
long messageNonce,
long expiration,
int flags)Distribute message to a local or remote destination. |
void | ClientManager.registerConnection(ClientConnectionRunner runner)Register a new client connection. |
boolean | ClientManager.registerEncryptedDestination(ClientConnectionRunner runner,
Hash hash)Call after destinationEstablished(),
when an encrypted leaseset is created, so we know it's local. |
void | ClientManager.unregisterConnection(ClientConnectionRunner runner)Remove all sessions for this runner. |
void | ClientManager.unregisterEncryptedDestination(ClientConnectionRunner runner,
Hash hash)Remove the hash for the encrypted LS. |
| Constructor and Description |
|---|
ClientMessageEventListener(RouterContext context,
ClientConnectionRunner runner,
boolean enforceAuth)Create a new event listener for the given client connection. |
ClientWriterRunner(RouterContext ctx,
ClientConnectionRunner runner)Creates a new client writer runner. |
LookupDestJob(RouterContext context,
ClientConnectionRunner runner,
Hash h,
Hash fromLocalDest) |
LookupDestJob(RouterContext context,
ClientConnectionRunner runner,
long reqID,
long timeout,
SessionId sessID,
Hash h,
String name,
Hash fromLocalDest)One of h or name non-null. |
MessageReceivedJob(RouterContext ctx,
ClientConnectionRunner runner,
Destination toDest,
Destination fromDest,
Payload payload,
boolean sendDirect) |
ReportAbuseJob(RouterContext context,
ClientConnectionRunner runner,
Destination dest,
String reason,
int severity)Create abuse report |
RequestLeaseSetJob(RouterContext ctx,
ClientConnectionRunner runner,
LeaseRequestState state) |