luft/render/lobby-tests.lisp
The socket-owning edge used by one LOBBY-CLIENT worker.
(transport connection client)Subscribe CONNECTION to CLIENT's shared lobby topics.
(transport connection client payload)Publish CLIENT's retained presence PAYLOAD.
(transport connection client)Return TOPIC and PAYLOAD for one publication, or NIL on a bounded idle poll.
(transport connection client)Close CONNECTION without allowing an error to escape cleanup.
(client)(&key (name (default-lobby-participant-name))
(client-id-prefix "luv")
(transport (make-instance 'mqtt-lobby-transport)))(client)(viewer instrument)Attach INSTRUMENT at VIEWER's frame boundary in explicit priority order. ADD consumes a newly offered INSTRUMENT on both success and terminal rejection. Once VIEWER begins stopping, the rejected instrument is released exactly once before APPLICATION-ATTACHMENT-CLOSED is signalled.
(viewer)Test whether two compatible scalars are equal.
(instrument)Return INSTRUMENT's input and visual stacking priority.
Logical negation of one test or raw truth value.
(instrument viewer)Whether INSTRUMENT currently participates in VIEWER.
(viewer instrument)Detach and release INSTRUMENT at a frame boundary. Return true when it was attached. Release is synchronous with the caller and therefore cannot overlap a native frame which still borrows the instrument.
(client)(client &key (timeout 3/4))Request cooperative stop and wait at most TIMEOUT seconds. No transport operation occurs on the caller. Repeated stops are idempotent.
(viewer)