| Package | Description |
|---|---|
| net.i2p.data.i2cp | 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). |
| net.i2p.router | The I2P router application handles I2P network communication. |
| net.i2p.router.client | Router-side implementation of the I2CP (I2P Client Protocol) interface for application integration. |
| net.i2p.router.dummy | Dummy implementations and stub classes for testing purposes. |
| Modifier and Type | Method and Description |
|---|---|
SessionConfig | CreateSessionMessage.getSessionConfig()Session config. |
SessionConfig | ReconfigureSessionMessage.getSessionConfig()Session config. |
| Modifier and Type | Method and Description |
|---|---|
void | CreateSessionMessage.setSessionConfig(SessionConfig config)setSessionConfig. |
void | ReconfigureSessionMessage.setSessionConfig(SessionConfig config)setSessionConfig. |
| Constructor and Description |
|---|
CreateSessionMessage(SessionConfig config)CreateSessionMessage. |
| Modifier and Type | Method and Description |
|---|---|
abstract SessionConfig | ClientManagerFacade.getClientSessionConfig(Destination dest)Return the client's current config, or null if not connected. |
SessionConfig | ClientMessage.getSenderConfig()Retrieve the session config of the client that sent the message. |
| Constructor and Description |
|---|
ClientMessage(Destination toDest,
Payload payload,
SessionConfig config,
Destination fromDest,
MessageId msgID,
long messageNonce,
long expiration,
int flags)For outbound (locally originated) |
| Modifier and Type | Method and Description |
|---|---|
SessionConfig | ClientManager.getClientSessionConfig(Destination dest)Return the client's current config, or null if not connected |
SessionConfig | ClientManagerFacadeImpl.getClientSessionConfig(Destination dest)Return the client's current config, or null if not connected |
SessionConfig | ClientConnectionRunner.getConfig(Hash h)Current client's config,
will be null if session not found
IS subsession aware. |
SessionConfig | ClientConnectionRunner.getConfig(SessionId id)Current client's config,
will be null if session not found
IS subsession aware. |
SessionConfig | ClientConnectionRunner.getPrimaryConfig()Primary client's config,
will be null if session not set up |
| Modifier and Type | Method and Description |
|---|---|
int | ClientConnectionRunner.sessionEstablished(SessionConfig config)Caller must send a SessionStatusMessage to the client with the returned code. |
protected void | ClientMessageEventListener.startCreateSessionJob(SessionConfig config)Override for testing |
| Constructor and Description |
|---|
CreateSessionJob(RouterContext context,
SessionConfig config) |
| Modifier and Type | Method and Description |
|---|---|
SessionConfig | DummyClientManagerFacade.getClientSessionConfig(Destination _dest) |