StructsΒ§
- Session
Manager - Manages lifecycles of Sessions.
- Session
Manager Config - Configuration for the
SessionManager. - Session
Slot π - Session
Slot πGuard - RAII guard that rolls back a freshly inserted
SessionSlotunless the session setup is explicitly committed.
EnumsΒ§
- Dispatch
Result - Indicates the result of processing a message.
- Drop
Reason - Why an inbound session data packet was dropped without being delivered.
- Session
Handles π - Handles to streams and tasks spawned by the Session.
ConstantsΒ§
- EXTERNAL_
SEND_ πTIMEOUT - Timeout when sending Start protocol messages to the sink
- MIN_
CHALLENGE π - The first challenge value used in Start protocol to initiate a session.
- MIN_
FRAME_ πTIMEOUT - Minimum timeout until an unfinished frame is discarded.
- MIN_
SURB_ BUFFER_ DURATION - Minimum time the SURB buffer must endure if no SURBs are being produced.
- MIN_
SURB_ BUFFER_ NOTIFICATION_ PERIOD - Minimum time between SURB buffer notifications to the Entry.
- SESSION_
FORWARD_ CAPACITY - How many packets can be buffered if the HoprSession socket is not fast enough.
- SESSION_
READINESS_ πTIMEOUT - Maximum time to wait for counterparty to receive the target number of SURBs.
FunctionsΒ§
- cap_
organic_ πsurbs - Caps how many SURBs an outgoing Session data packet may carry, per the SURB balancer.
- close_
session π - initiation_
timeout_ πmax_ one_ way - send_
via_ πmsg_ sender - session_
config π - session_
config_ πwith - As
session_config, with the initiating sessionβs own head-of-line bound.
Type AliasesΒ§
- Incoming
Session πSink - Session
Initiation πCache - Session
Notifiers π - Start
Protocol πMsgSink