Skip to main content

Module manager

Module manager 

Source

Structsยง

METRIC_ACTIVE_SESSIONS ๐Ÿ”’
METRIC_NUM_ESTABLISHED_SESSIONS ๐Ÿ”’
METRIC_NUM_INITIATED_SESSIONS ๐Ÿ”’
METRIC_RECEIVED_SESSION_ERRS ๐Ÿ”’
METRIC_SENT_SESSION_ERRS ๐Ÿ”’
SessionManager
Manages lifecycles of Sessions.
SessionManagerConfig
Configuration for the SessionManager.
SessionSlot ๐Ÿ”’

Enumsยง

DispatchResult
Indicates the result of processing a message.
SessionTasks ๐Ÿ”’

Constantsยง

EXTERNAL_SEND_TIMEOUT ๐Ÿ”’
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_READINESS_TIMEOUT ๐Ÿ”’
Maximum time to wait for counterparty to receive the target number of SURBs.

Functionsยง

close_session ๐Ÿ”’
initiation_timeout_max_one_way ๐Ÿ”’

Type Aliasesยง

SessionInitiationCache ๐Ÿ”’