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.
- 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ยง
- close_
session ๐ - initiation_
timeout_ ๐max_ one_ way - send_
via_ ๐msg_ sender - session_
config ๐
Type Aliasesยง
- Incoming
Session ๐Sink - Session
Initiation ๐Cache - Session
Notifiers ๐ - Start
Protocol ๐MsgSink