public virtual void OnFrontDisconnected(int nReason)
 {
     if (SwigDerivedClassHasMethod("OnFrontDisconnected", swigMethodTypes1))
     {
         CTPMarketCppWrapperPINVOKE.CThostFtdcMdSpi_OnFrontDisconnectedSwigExplicitCThostFtdcMdSpi(swigCPtr, nReason);
     }
     else
     {
         CTPMarketCppWrapperPINVOKE.CThostFtdcMdSpi_OnFrontDisconnected(swigCPtr, nReason);
     }
 }