vnpy/vn.api/vn.ctp/py3/pyscript/ctp_md_switch.cpp

73 lines
892 B
C++
Raw Normal View History

2016-07-02 03:12:44 +00:00
case ONFRONTCONNECTED:
{
this->processFrontConnected(task);
break;
}
case ONFRONTDISCONNECTED:
{
this->processFrontDisconnected(task);
break;
}
2017-04-27 02:51:45 +00:00
case ONHEARTBEATWARNING:
{
this->processHeartBeatWarning(task);
break;
}
2016-07-02 03:12:44 +00:00
case ONRSPUSERLOGIN:
{
this->processRspUserLogin(task);
break;
}
case ONRSPUSERLOGOUT:
{
this->processRspUserLogout(task);
break;
}
case ONRSPERROR:
{
this->processRspError(task);
break;
}
case ONRSPSUBMARKETDATA:
{
this->processRspSubMarketData(task);
break;
}
case ONRSPUNSUBMARKETDATA:
{
this->processRspUnSubMarketData(task);
break;
}
case ONRSPSUBFORQUOTERSP:
{
this->processRspSubForQuoteRsp(task);
break;
}
case ONRSPUNSUBFORQUOTERSP:
{
this->processRspUnSubForQuoteRsp(task);
break;
}
2017-04-27 02:51:45 +00:00
case ONRTNDEPTHMARKETDATA:
2016-07-02 03:12:44 +00:00
{
2017-04-27 02:51:45 +00:00
this->processRtnDepthMarketData(task);
2016-07-02 03:12:44 +00:00
break;
}
case ONRTNFORQUOTERSP:
{
this->processRtnForQuoteRsp(task);
break;
}