Embedded Python Real-Time FrameWork : API
Build 20250616.1
|
Classes | |
class | Manager |
class | MessageHandler |
From Web. More... | |
Functions | |
def | main |
def | OnEngineLoad |
Called when engine is loaded (server start). More... | |
def | OnEngineUnload |
Called when engine is unloaded (server stop). More... | |
def | OnTXMessage |
Called when user wants to stop the exchange. More... | |
def | server |
Variables | |
_MGR = None | |
tuple | connected_clients = set() |
tuple | loop = asyncio.get_event_loop() |
tuple | res = loop.run_until_complete( main() ) |
def pyRT.crypto.util.WebSoxSvr.main | ( | ) |
def pyRT.crypto.util.WebSoxSvr.OnEngineLoad | ( | cxt | ) |
Called when engine is loaded (server start).
cxt | - Opaque Context from native omniBridge module |
def pyRT.crypto.util.WebSoxSvr.OnEngineUnload | ( | cxt | ) |
Called when engine is unloaded (server stop).
We Stop the Manager
cxt | - Opaque Context from native omniBridge module |
def pyRT.crypto.util.WebSoxSvr.OnTXMessage | ( | cxt, | |
msg | |||
) |
Called when user wants to stop the exchange.
cxt | - Opaque Context from native cryptoOMS module |
msg | - Dict to send |
def pyRT.crypto.util.WebSoxSvr.server | ( | websocket, | |
path | |||
) |
pyRT.crypto.util.WebSoxSvr._MGR = None |
tuple pyRT.crypto.util.WebSoxSvr.connected_clients = set() |
tuple pyRT.crypto.util.WebSoxSvr.loop = asyncio.get_event_loop() |
tuple pyRT.crypto.util.WebSoxSvr.res = loop.run_until_complete( main() ) |