beacon
BeaconNamespace
#
Bases: AsyncNamespace
Handle all SocketIO events related to beacon server.
Source code in cogip/tools/server/namespaces/beacon.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | |
on_command(sid, cmd, *args)
async
#
Callback on command.
Source code in cogip/tools/server/namespaces/beacon.py
46 47 48 49 50 51 | |
on_crates_from_granary_available(sid, value)
async
#
Callback on crates_from_granary_available message. This message is sent by the Ninja Planner through the beacon server.
Source code in cogip/tools/server/namespaces/beacon.py
59 60 61 62 63 64 | |
on_reset(sid)
async
#
Callback on reset message.
Source code in cogip/tools/server/namespaces/beacon.py
32 33 34 35 36 37 | |
on_soft_reset(sid)
async
#
Callback on soft reset message.
Source code in cogip/tools/server/namespaces/beacon.py
39 40 41 42 43 44 | |
on_wizard(sid, message)
async
#
Callback on wizard message.
Source code in cogip/tools/server/namespaces/beacon.py
53 54 55 56 57 | |