nx_chat_session.nx
buildroot/runtime/nx_chat_session.nx
about
nx_chat_session.nx -- concrete chat-session subtype.
Extends nx_media_session (embedded as FIRST field per the OOP
inheritance pattern). Wraps nx_chat_ring (the bounded-ring buffer
promoted from nishi_video_room_synology.nx) and exposes the
standard session vtable.
Consumers:
nx_video_room.nx -- chat alongside audio + video
nx_call.nx -- chat in a 1:1 call
nx_iot_intercom.nx -- async text between devices
nx_cli_meet.nx -- text-only conferencing
dependencies 3 imports · 2 importers
imports: nx_syscalls_x86_64.nxnx_media_session.nxnx_chat_ring.nx
imported by: nx_call.nxnx_cli_meet.nx
structs
| 28 | struct nx_chat_session |
consts
| 37 | const NX_CHAT_SESSION_BYTES: i64 = 160 |
functions
| 41 | func nx_chat_session_open_impl(ms: *nx_media_session) -> i64 |
| 51 | func nx_chat_session_close_impl(ms: *nx_media_session) -> i64 |
| 57 | func nx_chat_session_on_peer_join_impl(ms: *nx_media_session, |
| 62 | func nx_chat_session_on_peer_leave_impl(ms: *nx_media_session, |
| 67 | func nx_chat_session_on_tier_change_impl(ms: *nx_media_session, |
| 73 | func nx_chat_session_health_check_impl(ms: *nx_media_session) -> i64 |
| 83 | func nx_chat_session_new(out: *nx_chat_session, |
| 107 | func nx_chat_session_post(s: *nx_chat_session, |
| 117 | func nx_chat_session_count(s: *nx_chat_session) -> i64 |
| 122 | func nx_chat_session_next_seq(s: *nx_chat_session) -> i64 calls 1: nx_chat_ring_next_seq |
| 127 | func nx_chat_session_get_at(s: *nx_chat_session, i: i64) -> *ChatSlot |
| 132 | func nx_chat_session_get_by_seq(s: *nx_chat_session, seq: i64) -> *ChatSlot calls 1: nx_chat_ring_get_by_seq |
| 137 | func nx_chat_session_copy_text(s: *nx_chat_session, slot: *ChatSlot, |