java.lang.Object
net.i2p.router.client.ClientConnectionRunner.SessionParams
- Enclosing class:
ClientConnectionRunner
For multisession.
Field Summary
FieldsModifier and TypeFieldDescription(package private) SessionConfigThe session's negotiated config.(package private) LeaseSetEncrypted lease set, present only if the client uses encrypted lease sets.(package private) LeaseSetCurrent lease set, possibly decrypted.(package private) final DestinationThe session's destination.(package private) final booleanTrue for the client's primary session.(package private) LeaseRequestStateState of the current lease set request.(package private) ClientConnectionRunner.RerequestTimer re-requesting the lease set.(package private) SessionIdId identifying the session in the stream.Constructor Summary
ConstructorsConstructorDescriptionSessionParams(Destination d, boolean isPrimary) Holds one client session's state.Method Summary
Field Details
dest
The session's destination.isPrimary
final boolean isPrimaryTrue for the client's primary session.sessionId
SessionId sessionIdId identifying the session in the stream.config
SessionConfig configThe session's negotiated config.leaseRequest
LeaseRequestState leaseRequestState of the current lease set request.rerequestTimer
ClientConnectionRunner.Rerequest rerequestTimerTimer re-requesting the lease set.currentLeaseSet
LeaseSet currentLeaseSetCurrent lease set, possibly decrypted.currentEncryptedLeaseSet
LeaseSet currentEncryptedLeaseSetEncrypted lease set, present only if the client uses encrypted lease sets.
Constructor Details
SessionParams
SessionParams(Destination d, boolean isPrimary) Holds one client session's state.- Parameters:
d- the session's destinationisPrimary- true for the primary session