Пример #1
0
 public virtual void OnRspUserLogout(CThostFtdcUserLogoutField pUserLogout, CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast)
 {
     if (SwigDerivedClassHasMethod("OnRspUserLogout", swigMethodTypes4))
     {
         thostmdapiPINVOKE.CThostFtdcMdSpi_OnRspUserLogoutSwigExplicitCThostFtdcMdSpi(swigCPtr, CThostFtdcUserLogoutField.getCPtr(pUserLogout), CThostFtdcRspInfoField.getCPtr(pRspInfo), nRequestID, bIsLast);
     }
     else
     {
         thostmdapiPINVOKE.CThostFtdcMdSpi_OnRspUserLogout(swigCPtr, CThostFtdcUserLogoutField.getCPtr(pUserLogout), CThostFtdcRspInfoField.getCPtr(pRspInfo), nRequestID, bIsLast);
     }
 }
Пример #2
0
        public virtual int ReqUserLogout(CThostFtdcUserLogoutField pUserLogout, int nRequestID)
        {
            int ret = CTPMarketCppWrapperPINVOKE.CThostFtdcMdApi_ReqUserLogout(swigCPtr, CThostFtdcUserLogoutField.getCPtr(pUserLogout), nRequestID);

            return(ret);
        }
Пример #3
0
    public virtual int ReqUserLogout(CThostFtdcUserLogoutField pUserLogout, int nRequestID)
    {
        int ret = thosttradeapiPINVOKE.CThostFtdcTraderApi_ReqUserLogout(swigCPtr, CThostFtdcUserLogoutField.getCPtr(pUserLogout), nRequestID);

        return(ret);
    }