PingPong : FlashJ Algo.
More...
def pyRT.crypto.Algo.PingPong.OnAlgoStart |
( |
|
cxt | ) |
|
Called from AlgoServer Reactor : Algo Start.
- Parameters
-
cxt | - Opaque Context from AlgoServer Reactor |
def pyRT.crypto.Algo.PingPong.OnAlgoStop |
( |
|
cxt | ) |
|
Called from AlgoServer Reactor : Stop Algo.
- Parameters
-
cxt | - Opaque Context from AlgoServer Reactor |
def pyRT.crypto.Algo.PingPong.OnConnectOMS |
( |
|
cxt, |
|
|
|
bUP, |
|
|
|
msg |
|
) |
| |
Called from AlgoServer Reactor : OMS Connection Change (UP / DOWN)
- Parameters
-
cxt | - Opaque Context from AlgoServer Reactor |
bUP | - True if UP; False if DOWN |
msg | - Message |
def pyRT.crypto.Algo.PingPong.OnEngineLoad |
( |
|
cxt | ) |
|
Called from AlgoServer Reactor : Engine Loaded (server start)
We Create the Manager
- Parameters
-
cxt | - Opaque Context from AlgoServer Reactor |
def pyRT.crypto.Algo.PingPong.OnEngineUnload |
( |
|
cxt | ) |
|
Called from AlgoServer Reactor : Unload Engine (server stop)
We Stop the Manager
- Parameters
-
cxt | - Opaque Context from AlgoServer Reactor |
- See Also
- Manager.Stop()
def pyRT.crypto.Algo.PingPong.OnExchange |
( |
|
cxt, |
|
|
|
exch, |
|
|
|
bUP, |
|
|
|
ddb |
|
) |
| |
Called from AlgoServer Reactor : OMS Exchange Status Change (UP / DOWN)
- Parameters
-
cxt | - Opaque Context from AlgoServer Reactor |
exch | - Exchange Name |
bUP | - True if UP; False if DOWN |
ddb | - Dict received |
def pyRT.crypto.Algo.PingPong.OnHttpGet |
( |
|
cxt, |
|
|
|
qry |
|
) |
| |
Called from AlgoServer Reactor : Http GET.
- Parameters
-
cxt | - Opaque Context from AlgoServer Reactor |
qry | - Http Query (JSON) |
- Returns
- Http Response (JSON)
def pyRT.crypto.Algo.PingPong.OnOMSMsg |
( |
|
cxt, |
|
|
|
ddb |
|
) |
| |
Called from AlgoServer Reactor : OMS Message Received (ExecRpt)
- Parameters
-
cxt | - Opaque Context from AlgoServer Reactor |
ddb | - Dict received |
tuple pyRT.crypto.Algo.PingPong._cfg = PingPongCfg() |
pyRT.crypto.Algo.PingPong._EXCH = AlgoBase._EXCH |
pyRT.crypto.Algo.PingPong._MGR = None; |