Package | Description |
---|---|
net.i2p.client.impl |
Implements the base I2P SDK for developing applications that communicate
through I2P.
|
net.i2p.data.i2cp |
The Invisible Internet Client Protocol (I2CP) allows applications simplified access to
the I2P network without requiring them to deal with the issues involved with the
Invisible Internet Network Protocol (I2NP).
|
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.
|
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) |
Modifier and Type | Field and Description |
---|---|
protected SessionId |
SendMessageMessage._sessionId |
Modifier and Type | Method and Description |
---|---|
SessionId |
DestroySessionMessage.getSessionId() |
SessionId |
ReportAbuseMessage.getSessionId() |
SessionId |
SendMessageMessage.getSessionId() |
SessionId |
SessionStatusMessage.getSessionId() |
SessionId |
RequestVariableLeaseSetMessage.getSessionId() |
SessionId |
HostLookupMessage.getSessionId() |
SessionId |
RequestLeaseSetMessage.getSessionId() |
SessionId |
HostReplyMessage.getSessionId() |
SessionId |
ReconfigureSessionMessage.getSessionId() |
SessionId |
CreateLeaseSetMessage.getSessionId() |
SessionId |
DestroySessionMessage.sessionId()
Return the SessionId for this message.
|
SessionId |
I2CPMessage.sessionId()
Return the SessionId for this type of message.
|
SessionId |
I2CPMessageImpl.sessionId()
Return the SessionId for this type of message.
|
SessionId |
ReportAbuseMessage.sessionId()
Return the SessionId for this message.
|
SessionId |
SendMessageMessage.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 |
MessageStatusMessage.sessionId()
Return the SessionId for this message.
|
SessionId |
ReceiveMessageEndMessage.sessionId()
Return the SessionId for this message.
|
SessionId |
RequestVariableLeaseSetMessage.sessionId()
Return the SessionId for this message.
|
SessionId |
HostLookupMessage.sessionId()
Return the SessionId for this message.
|
SessionId |
ReceiveMessageBeginMessage.sessionId()
Return the SessionId for this message.
|
SessionId |
RequestLeaseSetMessage.sessionId()
Return the SessionId for this message.
|
SessionId |
HostReplyMessage.sessionId()
Return the SessionId for this message.
|
SessionId |
ReconfigureSessionMessage.sessionId()
Return the SessionId for this message.
|
SessionId |
CreateLeaseSetMessage.sessionId()
Return the SessionId for this message.
|
Modifier and Type | Method and Description |
---|---|
void |
DestroySessionMessage.setSessionId(SessionId id) |
void |
ReportAbuseMessage.setSessionId(SessionId id) |
void |
SendMessageMessage.setSessionId(SessionId id) |
void |
SessionStatusMessage.setSessionId(SessionId id) |
void |
RequestVariableLeaseSetMessage.setSessionId(SessionId id) |
void |
RequestLeaseSetMessage.setSessionId(SessionId id) |
void |
ReconfigureSessionMessage.setSessionId(SessionId id) |
void |
CreateLeaseSetMessage.setSessionId(SessionId id) |
Constructor and Description |
---|
HostLookupMessage(SessionId id,
Hash h,
long reqID,
long timeout) |
HostLookupMessage(SessionId id,
String host,
long reqID,
long timeout) |
HostReplyMessage(SessionId id,
Destination d,
long reqID)
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.
|
Modifier and Type | Field and Description |
---|---|
static SessionId |
ClientManager.UNKNOWN_SESSION_ID
65535
|
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.
|