Esempio n. 1
0
 public TapAPITradeLoginAuth(TapAPITradeLoginAuth other) : this(TapTradePINVOKE.new_TapAPITradeLoginAuth__SWIG_1(TapAPITradeLoginAuth.getCPtr(other)), true)
 {
     if (TapTradePINVOKE.SWIGPendingException.Pending)
     {
         throw TapTradePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public TapAPIOrderInfoNotice(TapAPIOrderInfoNotice other) : this(TapTradePINVOKE.new_TapAPIOrderInfoNotice__SWIG_1(TapAPIOrderInfoNotice.getCPtr(other)), true)
 {
     if (TapTradePINVOKE.SWIGPendingException.Pending)
     {
         throw TapTradePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 3
0
 public TapAPIDeepQuoteQryRsp(TapAPIDeepQuoteQryRsp other) : this(TapTradePINVOKE.new_TapAPIDeepQuoteQryRsp__SWIG_1(TapAPIDeepQuoteQryRsp.getCPtr(other)), true)
 {
     if (TapTradePINVOKE.SWIGPendingException.Pending)
     {
         throw TapTradePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
 public TapAPIExchangeStateInfo(TapAPIExchangeStateInfo other) : this(TapTradePINVOKE.new_TapAPIExchangeStateInfo__SWIG_1(TapAPIExchangeStateInfo.getCPtr(other)), true)
 {
     if (TapTradePINVOKE.SWIGPendingException.Pending)
     {
         throw TapTradePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public TapAPIAmendOrder(TapAPIAmendOrder other) : this(TapTradePINVOKE.new_TapAPIAmendOrder__SWIG_1(TapAPIAmendOrder.getCPtr(other)), true)
 {
     if (TapTradePINVOKE.SWIGPendingException.Pending)
     {
         throw TapTradePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public TapAPIOrderQryReq(TapAPIOrderQryReq other) : this(TapTradePINVOKE.new_TapAPIOrderQryReq__SWIG_1(TapAPIOrderQryReq.getCPtr(other)), true)
 {
     if (TapTradePINVOKE.SWIGPendingException.Pending)
     {
         throw TapTradePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public TapAPICommodity(TapAPICommodity other) : this(TapTradePINVOKE.new_TapAPICommodity__SWIG_1(TapAPICommodity.getCPtr(other)), true)
 {
     if (TapTradePINVOKE.SWIGPendingException.Pending)
     {
         throw TapTradePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 8
0
 public TapAPIFundData(TapAPIFundData other) : this(TapTradePINVOKE.new_TapAPIFundData__SWIG_1(TapAPIFundData.getCPtr(other)), true)
 {
     if (TapTradePINVOKE.SWIGPendingException.Pending)
     {
         throw TapTradePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public TapAPIContract(TapAPIContract other) : this(TapTradePINVOKE.new_TapAPIContract__SWIG_1(TapAPIContract.getCPtr(other)), true)
 {
     if (TapTradePINVOKE.SWIGPendingException.Pending)
     {
         throw TapTradePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 10
0
 public TapAPIOrderInfo(TapAPIOrderInfo other) : this(TapTradePINVOKE.new_TapAPIOrderInfo__SWIG_1(TapAPIOrderInfo.getCPtr(other)), false)
 {
     if (TapTradePINVOKE.SWIGPendingException.Pending)
     {
         throw TapTradePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public ITapTradeAPINotify(ITapTradeAPINotify other) : this(TapTradePINVOKE.new_ITapTradeAPINotify__SWIG_1(ITapTradeAPINotify.getCPtr(other)), true)
 {
     if (TapTradePINVOKE.SWIGPendingException.Pending)
     {
         throw TapTradePINVOKE.SWIGPendingException.Retrieve();
     }
     SwigDirectorConnect();
 }
 public virtual void Dispose()
 {
     lock (this) {
         if (swigCPtr.Handle != IntPtr.Zero)
         {
             if (swigCMemOwn)
             {
                 swigCMemOwn = false;
                 TapTradePINVOKE.delete_TapAPIExchangeInfo(swigCPtr);
             }
             swigCPtr = new HandleRef(null, IntPtr.Zero);
         }
         GC.SuppressFinalize(this);
     }
 }
Esempio n. 13
0
 public virtual void Dispose()
 {
     lock (this) {
         if (swigCPtr.Handle != IntPtr.Zero)
         {
             if (swigCMemOwn)
             {
                 swigCMemOwn = false;
                 TapTradePINVOKE.delete_TapAPICommodityOrderTimeInForceQryRsp(swigCPtr);
             }
             swigCPtr = new HandleRef(null, IntPtr.Zero);
         }
         GC.SuppressFinalize(this);
     }
 }
 public virtual void OnDisconnect(int reasonCode)
 {
     TapTradePINVOKE.ITapTradeAPINotify_OnDisconnect(swigCPtr, reasonCode);
 }
 public virtual void OnRspQryFund(uint sessionID, int errorCode, char isLast, TapAPIFundData info)
 {
     TapTradePINVOKE.ITapTradeAPINotify_OnRspQryFund(swigCPtr, sessionID, errorCode, isLast, TapAPIFundData.getCPtr(info));
 }
 public virtual void OnRspChangePassword(uint sessionID, int errorCode)
 {
     TapTradePINVOKE.ITapTradeAPINotify_OnRspChangePassword(swigCPtr, sessionID, errorCode);
 }
 public TapAPIContract() : this(TapTradePINVOKE.new_TapAPIContract__SWIG_0(), true)
 {
 }
 public virtual void OnRspSetReservedInfo(uint sessionID, int errorCode, string info)
 {
     TapTradePINVOKE.ITapTradeAPINotify_OnRspSetReservedInfo(swigCPtr, sessionID, errorCode, info);
 }
Esempio n. 19
0
 public TapAPIFundData() : this(TapTradePINVOKE.new_TapAPIFundData__SWIG_0(), true)
 {
 }
 public TapAPIOrderQryReq() : this(TapTradePINVOKE.new_TapAPIOrderQryReq__SWIG_0(), true)
 {
 }
 public TapAPIOrderActionRsp() : this(TapTradePINVOKE.new_TapAPIOrderActionRsp__SWIG_0(), true)
 {
 }
 public virtual void OnRspQryAccount(uint sessionID, uint errorCode, char isLast, TapAPIAccountInfo info)
 {
     TapTradePINVOKE.ITapTradeAPINotify_OnRspQryAccount(swigCPtr, sessionID, errorCode, isLast, TapAPIAccountInfo.getCPtr(info));
 }
Esempio n. 23
0
 public TapAPIPositionProfitNotice() : this(TapTradePINVOKE.new_TapAPIPositionProfitNotice__SWIG_0(), true)
 {
 }
 public TapAPIFundReq() : this(TapTradePINVOKE.new_TapAPIFundReq__SWIG_0(), true)
 {
 }
Esempio n. 25
0
 public TapAPINewOrder() : this(TapTradePINVOKE.new_TapAPINewOrder__SWIG_0(), true)
 {
 }
 public virtual void OnRtnFund(TapAPIFundData info)
 {
     TapTradePINVOKE.ITapTradeAPINotify_OnRtnFund(swigCPtr, TapAPIFundData.getCPtr(info));
 }
Esempio n. 27
0
 public TapAPICommodityInfo() : this(TapTradePINVOKE.new_TapAPICommodityInfo__SWIG_0(), true)
 {
 }
 public virtual void OnRspQryCommodity(uint sessionID, int errorCode, char isLast, TapAPICommodityInfo info)
 {
     TapTradePINVOKE.ITapTradeAPINotify_OnRspQryCommodity(swigCPtr, sessionID, errorCode, isLast, TapAPICommodityInfo.getCPtr(info));
 }
 public TapAPIExchangeInfo() : this(TapTradePINVOKE.new_TapAPIExchangeInfo__SWIG_0(), true)
 {
 }
 public TapAPIDeepQuoteInfo() : this(TapTradePINVOKE.new_TapAPIDeepQuoteInfo__SWIG_0(), true)
 {
 }