| Package | Description |
|---|---|
| net.i2p.client.impl | Internal implementation of the I2P client SDK, providing the client
side of the I2CP protocol for applications communicating through I2P. |
| 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.client | Router-side implementation of the I2CP (I2P Client Protocol) interface for application integration. |
| Modifier and Type | Field and Description |
|---|---|
(package private) static SessionId | I2PSessionImpl.DUMMY_SESSIONDummy session ID for messages before a real session is established |
| Modifier and Type | Method and Description |
|---|---|
(package private) SessionId | I2PSessionImpl.getSessionId()Retrieve the session's ID |
| Modifier and Type | Method and Description |
|---|---|
(package private) void | I2PSessionImpl.setSessionId(SessionId id)Session ID assigned by the router. |
| Modifier and Type | Field and Description |
|---|---|
protected SessionId | CreateLeaseSetMessage._sessionIdthe session ID |
protected SessionId | SendMessageMessage._sessionId_sessionId. |
| Modifier and Type | Method and Description |
|---|---|
SessionId | HostLookupMessage.getSessionId()Session id. |
SessionId | CreateLeaseSetMessage.getSessionId()Session identifier for this message. |
SessionId | RequestLeaseSetMessage.getSessionId()Session id. |
SessionId | ReportAbuseMessage.getSessionId()Session id. |
SessionId | HostReplyMessage.getSessionId()Session id. |
SessionId | RequestVariableLeaseSetMessage.getSessionId()Session id. |
SessionId | BlindingInfoMessage.getSessionId()Returns the session ID for this message. |
SessionId | ReconfigureSessionMessage.getSessionId()Session id. |
SessionId | DestroySessionMessage.getSessionId()Session id. |
SessionId | SessionStatusMessage.getSessionId()Session id. |
SessionId | SendMessageMessage.getSessionId() |
SessionId | HostLookupMessage.sessionId()Return the SessionId for this message. |
SessionId | ReceiveMessageBeginMessage.sessionId()Return the SessionId for this message. |
SessionId | CreateLeaseSetMessage.sessionId()Return the SessionId for this message. |
SessionId | RequestLeaseSetMessage.sessionId()Return the SessionId for this message. |
SessionId | ReportAbuseMessage.sessionId()Return the SessionId for this message. |
SessionId | I2CPMessageImpl.sessionId()Return the SessionId for this type of message. |
SessionId | HostReplyMessage.sessionId()Return the SessionId for this message. |
SessionId | I2CPMessage.sessionId()Return the SessionId for this type of message. |
SessionId | MessageStatusMessage.sessionId()Return the SessionId for this message. |
SessionId | RequestVariableLeaseSetMessage.sessionId()Return the SessionId for this message. |
SessionId | BlindingInfoMessage.sessionId()Return the SessionId for this message. |
SessionId | ReconfigureSessionMessage.sessionId()Return the SessionId for this message. |
SessionId | DestroySessionMessage.sessionId()Return the SessionId for this message. |
SessionId | ReceiveMessageEndMessage.sessionId()Return the SessionId for this message. |
SessionId | SessionStatusMessage.sessionId()Return the SessionId for this message. |
SessionId | MessagePayloadMessage.sessionId()Return the SessionId for this message. |
SessionId | SendMessageMessage.sessionId()Return the SessionId for this message. |
| Modifier and Type | Method and Description |
|---|---|
void | CreateLeaseSetMessage.setSessionId(SessionId id)Session identifier for this message. |
void | RequestLeaseSetMessage.setSessionId(SessionId id)setSessionId. |
void | ReportAbuseMessage.setSessionId(SessionId id)setSessionId. |
void | RequestVariableLeaseSetMessage.setSessionId(SessionId id)setSessionId. |
void | ReconfigureSessionMessage.setSessionId(SessionId id)setSessionId. |
void | DestroySessionMessage.setSessionId(SessionId id)setSessionId. |
void | SessionStatusMessage.setSessionId(SessionId id)setSessionId. |
void | SendMessageMessage.setSessionId(SessionId id)Deprecated. use 4-arg constructor |
| Constructor and Description |
|---|
BlindingInfoMessage(BlindData bd,
SessionId id)This is the constructor used by I2CP client-side. |
BlindingInfoMessage(Destination d,
SessionId id,
int expiration,
int authType,
SigType blindType,
PrivateKey privKey,
String secret)Creates a BlindingInfoMessage for a destination. |
BlindingInfoMessage(Hash h,
SessionId id,
int expiration,
int authType,
SigType blindType,
PrivateKey privKey,
String secret)Deprecated. unimplemented on router side |
BlindingInfoMessage(SigningPublicKey s,
SessionId id,
int expiration,
int authType,
SigType blindType,
PrivateKey privKey,
String secret)Creates a BlindingInfoMessage for a signing public key. |
BlindingInfoMessage(String h,
SessionId id,
int expiration,
int authType,
SigType blindType,
PrivateKey privKey,
String secret)Deprecated. unimplemented on router side |
HostLookupMessage(SessionId id,
Hash h,
long reqID,
long timeout)Session id. |
HostLookupMessage(SessionId id,
String host,
long reqID,
long timeout)Session id. |
HostReplyMessage(SessionId id,
Destination d,
long reqID,
Properties options)A message with RESULT_SUCCESS and a non-null Destination. |
HostReplyMessage(SessionId id,
int failureCode,
long reqID)A message with a failure code and no Destination. |
SendMessageExpiresMessage(SessionId sessID,
Destination dest,
Payload payload,
long nonce)For writing |
SendMessageExpiresMessage(SessionId sessID,
Destination dest,
Payload payload,
long nonce,
DateAndFlags options)For writing |
SendMessageMessage(SessionId sessID,
Destination dest,
Payload payload,
long nonce)For writing |
| Modifier and Type | Field and Description |
|---|---|
static SessionId | ClientManager.UNKNOWN_SESSION_IDSentinel session ID for unknown/unidentified sessions. |
| Modifier and Type | Method and Description |
|---|---|
(package private) SessionId | ClientConnectionRunner.getSessionId(Hash h)Subsession aware. |
| Modifier and Type | Method and Description |
|---|---|
(package private) List<SessionId> | ClientConnectionRunner.getSessionIds()Subsession aware. |
| Modifier and Type | Method and Description |
|---|---|
(package private) void | ClientConnectionRunner.ackSendMessage(SessionId sid,
MessageId id,
long nonce)Send a notification to the client that their message (id specified) was accepted
for delivery (but not necessarily delivered)
Doesn't do anything if i2cp.messageReliability = "none"
or if the nonce is 0. |
SessionConfig | ClientConnectionRunner.getConfig(SessionId id)Current client's config,
will be null if session not found
IS subsession aware. |
Hash | ClientConnectionRunner.getDestHash(SessionId id)Return the hash for the given ID |
Destination | ClientConnectionRunner.getDestination(SessionId id)Return the dest for the given ID |
(package private) void | ClientConnectionRunner.removeSession(SessionId id)Kill the session. |
(package private) void | ClientConnectionRunner.setSessionId(Hash hash,
SessionId id)To be called only by ClientManager. |
void | ClientManager.unregisterSession(SessionId id,
Destination dest)Remove only the following session. |
| Constructor and Description |
|---|
LookupDestJob(RouterContext context,
ClientConnectionRunner runner,
long reqID,
long timeout,
SessionId sessID,
Hash h,
String name,
Hash fromLocalDest)One of h or name non-null. |