ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
migration_ctx_t Struct Reference

Host migration context for tracking failover state. More...

#include <src/discovery/session.h>

Data Fields

migration_state_t state
 Current migration state.
 
uint64_t detection_time_ms
 When host disconnect detected (Unix ms)
 
uint8_t last_host_id [16]
 The host that died.
 
uint32_t disconnect_reason
 Reason for disconnect (from HOST_LOST packet)
 

Detailed Description

Host migration context for tracking failover state.

Definition at line 95 of file session.h.

Field Documentation

◆ detection_time_ms

uint64_t migration_ctx_t::detection_time_ms

When host disconnect detected (Unix ms)

Definition at line 97 of file session.h.

Referenced by discovery_session_handle_host_disconnect(), and discovery_session_process().

◆ disconnect_reason

uint32_t migration_ctx_t::disconnect_reason

Reason for disconnect (from HOST_LOST packet)

Definition at line 99 of file session.h.

Referenced by discovery_session_handle_host_disconnect().

◆ last_host_id

uint8_t migration_ctx_t::last_host_id[16]

The host that died.

Definition at line 98 of file session.h.

Referenced by discovery_session_handle_host_disconnect().

◆ state


The documentation for this struct was generated from the following file: