Packages that use SessionId
Package
Description
Internal implementation of the I2P client SDK - the client side of the Invisible Internet Client Protocol (I2CP), separating implementation from the interfaces in
net.i2p.client. 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).
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.
Uses of SessionId in net.i2p.client.impl
Fields in net.i2p.client.impl declared as SessionIdModifier and TypeFieldDescriptionprivate SessionIdI2PSessionImpl._sessionIdThis session's ID.(package private) static final SessionIdI2PSessionImpl.DUMMY_SESSIONDummy session ID for messages before a real session is established.Fields in net.i2p.client.impl with type parameters of type SessionIdModifier and TypeFieldDescriptionprivate final ConcurrentHashMap<SessionId, SubSession> I2PSessionImpl._subsessionMapThe established subsessions by id.Methods in net.i2p.client.impl that return SessionIdModifier and TypeMethodDescription(package private) SessionIdI2PSessionImpl.getSessionId()Retrieve the session's ID.Methods in net.i2p.client.impl with parameters of type SessionIdModifier and TypeMethodDescription(package private) voidI2PSessionImpl.setSessionId(SessionId id) Session ID assigned by the router.Uses of SessionId in net.i2p.data.i2cp
Fields in net.i2p.data.i2cp declared as SessionIdModifier and TypeFieldDescriptionprivate SessionIdBlindingInfoMessage._sessionIdThe session id of the blinded destination.protected SessionIdCreateLeaseSetMessage._sessionIdThe session ID.private SessionIdDestroySessionMessage._sessionIdThe session the client is closing.private SessionIdHostLookupMessage._sessionIdThe session that asked for the lookup.private SessionIdHostReplyMessage._sessionIdThe session the reply belongs to.private SessionIdReconfigureSessionMessage._sessionIdThe session being reconfigured.private SessionIdReportAbuseMessage._sessionIdThe session the report is about.private SessionIdRequestLeaseSetMessage._sessionIdThe session asking for the lease set.private SessionIdRequestVariableLeaseSetMessage._sessionIdThe session asking for the lease set.protected SessionIdSendMessageMessage._sessionIdSession the payload is being sent over.private SessionIdSessionStatusMessage._sessionIdThe session the status is about.Methods in net.i2p.data.i2cp that return SessionIdModifier and TypeMethodDescriptionBlindingInfoMessage.getSessionId()Returns the session ID for this message.CreateLeaseSetMessage.getSessionId()Session identifier for this message.DestroySessionMessage.getSessionId()Session being closed.HostLookupMessage.getSessionId()Session making the lookup request.HostReplyMessage.getSessionId()Session the reply belongs to.ReconfigureSessionMessage.getSessionId()Session being reconfigured.ReportAbuseMessage.getSessionId()Session making the report.RequestLeaseSetMessage.getSessionId()Session requesting the lease set.RequestVariableLeaseSetMessage.getSessionId()Session requesting the lease set.SendMessageMessage.getSessionId()Session ID the message is being sent to.SessionStatusMessage.getSessionId()Session the status applies to.BlindingInfoMessage.sessionId()Return the SessionId for this message.CreateLeaseSetMessage.sessionId()Return the SessionId for this message.DestroySessionMessage.sessionId()Return the SessionId for this message.HostLookupMessage.sessionId()Return the SessionId for this message.HostReplyMessage.sessionId()Return the SessionId for this message.I2CPMessage.sessionId()Return the SessionId for this type of message.I2CPMessageImpl.sessionId()Return the SessionId for this type of message.MessagePayloadMessage.sessionId()Return the SessionId for this message.MessageStatusMessage.sessionId()Return the SessionId for this message.ReceiveMessageBeginMessage.sessionId()Return the SessionId for this message.ReceiveMessageEndMessage.sessionId()Return the SessionId for this message.ReconfigureSessionMessage.sessionId()Return the SessionId for this message.ReportAbuseMessage.sessionId()Return the SessionId for this message.RequestLeaseSetMessage.sessionId()Return the SessionId for this message.RequestVariableLeaseSetMessage.sessionId()Return the SessionId for this message.SendMessageMessage.sessionId()Return the SessionId for this message.SessionStatusMessage.sessionId()Return the SessionId for this message.Methods in net.i2p.data.i2cp with parameters of type SessionIdModifier and TypeMethodDescriptionvoidCreateLeaseSetMessage.setSessionId(SessionId id) Session identifier for this message.voidDestroySessionMessage.setSessionId(SessionId id) Session ID for this message.voidReconfigureSessionMessage.setSessionId(SessionId id) Session ID for this message.voidReportAbuseMessage.setSessionId(SessionId id) Session ID for this message.voidRequestLeaseSetMessage.setSessionId(SessionId id) Session ID for this message.voidRequestVariableLeaseSetMessage.setSessionId(SessionId id) Session ID for this message.voidSessionStatusMessage.setSessionId(SessionId id) Session ID for this message.Constructors in net.i2p.data.i2cp with parameters of type SessionIdModifierConstructorDescriptionBlindingInfoMessage(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.privateBlindingInfoMessage(SessionId id, long expiration, int authType, SigType blindType, PrivateKey privKey, String secret) Builds the message from its parsed parts.BlindingInfoMessage(SigningPublicKey s, SessionId id, int expiration, int authType, SigType blindType, PrivateKey privKey, String secret) Creates a BlindingInfoMessage for a signing public key.HostLookupMessage(SessionId id, String host, long reqID, long timeout) Session id.HostLookupMessage(SessionId id, Hash h, long reqID, long timeout) Session id.HostReplyMessage(SessionId id, int failureCode, long reqID) A message with a failure code and no Destination.HostReplyMessage(SessionId id, Destination d, long reqID, Properties options) A message with RESULT_SUCCESS and a non-null 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.Uses of SessionId in net.i2p.router.client
Fields in net.i2p.router.client declared as SessionIdModifier and TypeFieldDescriptionprivate final SessionIdClientConnectionRunner.MessageDeliveryStatusUpdate._sessIdThe session the message belongs to.private final SessionIdLookupDestJob._sessIDThe session that asked for the lookup.(package private) SessionIdClientConnectionRunner.SessionParams.sessionIdId identifying the session in the stream.static final SessionIdClientManager.UNKNOWN_SESSION_IDSentinel session ID for unknown/unidentified sessions.Fields in net.i2p.router.client with type parameters of type SessionIdMethods in net.i2p.router.client that return SessionIdModifier and TypeMethodDescription(package private) SessionIdClientConnectionRunner.getSessionId(Hash h) Subsession aware.private SessionIdClientManager.locked_getNextSessionId()Generate a new random, unused sessionId.Methods in net.i2p.router.client that return types with arguments of type SessionIdMethods in net.i2p.router.client with parameters of type SessionIdModifier and TypeMethodDescription(package private) voidClientConnectionRunner.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 ifi2cp.messageReliability= "none" or if the nonce is 0.Current client's config, will be null if session not found IS subsession aware.ClientConnectionRunner.getDestHash(SessionId id) Return the hash for the given ID.ClientConnectionRunner.getDestination(SessionId id) Return the dest for the given ID.(package private) voidClientConnectionRunner.removeSession(SessionId id) Kill the session.private voidClientMessageEventListener.sendStatusMessage(SessionId id, int status) Sends a status report to the client.(package private) voidClientConnectionRunner.setSessionId(Hash hash, SessionId id) To be called only byClientManager.voidClientManager.unregisterSession(SessionId id, Destination dest) Remove only the following session.Constructors in net.i2p.router.client with parameters of type SessionIdModifierConstructorDescriptionLookupDestJob(RouterContext context, ClientConnectionRunner runner, long reqID, long timeout, SessionId sessID, Hash h, String name, Hash fromLocalDest) One of h or name non-null.MessageDeliveryStatusUpdate(SessionId sid, MessageId id, long messageNonce, int status) Do not use for status = STATUS_SEND_ACCEPTED; use ackSendMessage() for that.