tslumd.receiver
¶
-
class
tslumd.receiver.
UmdReceiver
(*args, **kwargs)[source]¶ Bases:
pydispatch.dispatch.Dispatcher
Receiver for UMD messages
- Parameters
hostaddr (str) – The local host address to bind the server to. Defaults to
DEFAULT_HOST
hostport (int) – The port to listen on. Defaults to
DEFAULT_PORT
- Events
-
-
on_tally_control
(tally: Tally, data: bytes)¶ Fired when control data has been received for a
Tally
New in version 0.0.3.
-
-
screens
: Dict[int, tslumd.tallyobj.Screen]¶ Mapping of
Screen
objects byindex
New in version 0.0.3.
-
broadcast_screen
: tslumd.tallyobj.Screen¶ A
Screen
instance created usingScreen.broadcast()
New in version 0.0.3.
-
tallies
: Dict[Tuple[int, int], tslumd.tallyobj.Tally]¶ Mapping of
Tally
objects by theirid
-
loop
: asyncio.base_events.BaseEventLoop¶ The
asyncio.BaseEventLoop
associated with the instance