public virtual void Dispose()
 {
     lock (this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero)
         {
             if (swigCMemOwn)
             {
                 swigCMemOwn = false;
                 TapTradeCppWrapperPINVOKE.delete_TapAPICommodityOrderTimeInForceQryRsp(swigCPtr);
             }
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
         }
         global::System.GC.SuppressFinalize(this);
     }
 }
Example #2
0
 public virtual void Dispose()
 {
     lock (this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero)
         {
             if (swigCMemOwn)
             {
                 swigCMemOwn = false;
                 TapTradeCppWrapperPINVOKE.delete_TapAPIPositionProfitNotice(swigCPtr);
             }
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
         }
         global::System.GC.SuppressFinalize(this);
     }
 }
Example #3
0
 public virtual void OnAPIReady()
 {
     TapTradeCppWrapperPINVOKE.ITapTradeAPINotify_OnAPIReady(swigCPtr);
 }
 public TapAPITradeLoginAuth() : this(TapTradeCppWrapperPINVOKE.new_TapAPITradeLoginAuth(), true)
 {
 }
 public TapAPIExchangeInfo() : this(TapTradeCppWrapperPINVOKE.new_TapAPIExchangeInfo(), true)
 {
 }
Example #6
0
 public TapAPIExchangeStateInfoNotice() : this(TapTradeCppWrapperPINVOKE.new_TapAPIExchangeStateInfoNotice(), true)
 {
 }
Example #7
0
 public TapAPIFillInfo() : this(TapTradeCppWrapperPINVOKE.new_TapAPIFillInfo(), true)
 {
 }
Example #8
0
 public TapAPIOrderProcessQryReq() : this(TapTradeCppWrapperPINVOKE.new_TapAPIOrderProcessQryReq(), true)
 {
 }
Example #9
0
 public virtual void OnRspQryCommodity(uint sessionID, int errorCode, char isLast, TapAPICommodityInfo info)
 {
     TapTradeCppWrapperPINVOKE.ITapTradeAPINotify_OnRspQryCommodity(swigCPtr, sessionID, errorCode, isLast, TapAPICommodityInfo.getCPtr(info));
 }
Example #10
0
 public virtual void OnRtnFund(TapAPIFundData info)
 {
     TapTradeCppWrapperPINVOKE.ITapTradeAPINotify_OnRtnFund(swigCPtr, TapAPIFundData.getCPtr(info));
 }
Example #11
0
 public virtual void OnRspQryFund(uint sessionID, int errorCode, char isLast, TapAPIFundData info)
 {
     TapTradeCppWrapperPINVOKE.ITapTradeAPINotify_OnRspQryFund(swigCPtr, sessionID, errorCode, isLast, TapAPIFundData.getCPtr(info));
 }
Example #12
0
 public virtual void OnRspQryAccount(uint sessionID, uint errorCode, char isLast, TapAPIAccountInfo info)
 {
     TapTradeCppWrapperPINVOKE.ITapTradeAPINotify_OnRspQryAccount(swigCPtr, sessionID, errorCode, isLast, TapAPIAccountInfo.getCPtr(info));
 }
Example #13
0
 public virtual void OnRspSetReservedInfo(uint sessionID, int errorCode, string info)
 {
     TapTradeCppWrapperPINVOKE.ITapTradeAPINotify_OnRspSetReservedInfo(swigCPtr, sessionID, errorCode, info);
 }
Example #14
0
 public virtual void OnRspChangePassword(uint sessionID, int errorCode)
 {
     TapTradeCppWrapperPINVOKE.ITapTradeAPINotify_OnRspChangePassword(swigCPtr, sessionID, errorCode);
 }
Example #15
0
 public virtual void OnDisconnect(int reasonCode)
 {
     TapTradeCppWrapperPINVOKE.ITapTradeAPINotify_OnDisconnect(swigCPtr, reasonCode);
 }
Example #16
0
 public TapAPIAccountRentQryReq() : this(TapTradeCppWrapperPINVOKE.new_TapAPIAccountRentQryReq(), true)
 {
 }
 public TapAPIDeepQuoteQryRsp() : this(TapTradeCppWrapperPINVOKE.new_TapAPIDeepQuoteQryRsp(), true)
 {
 }
 public TapAPICommodityOrderTimeInForceQryRsp() : this(TapTradeCppWrapperPINVOKE.new_TapAPICommodityOrderTimeInForceQryRsp(), true)
 {
 }
 public TapAPIFundReq() : this(TapTradeCppWrapperPINVOKE.new_TapAPIFundReq(), true)
 {
 }
 public TapAPIUpperChannelQryReq() : this(TapTradeCppWrapperPINVOKE.new_TapAPIUpperChannelQryReq(), true)
 {
 }
Example #21
0
 public TapAPIOrderCancelReq() : this(TapTradeCppWrapperPINVOKE.new_TapAPIOrderCancelReq(), true)
 {
 }
 public TapAPICommodityInfo() : this(TapTradeCppWrapperPINVOKE.new_TapAPICommodityInfo(), true)
 {
 }
 public TapAPIApplicationInfo() : this(TapTradeCppWrapperPINVOKE.new_TapAPIApplicationInfo(), true)
 {
 }
Example #24
0
 public TapAPIReqQuoteNotice() : this(TapTradeCppWrapperPINVOKE.new_TapAPIReqQuoteNotice(), true)
 {
 }
Example #25
0
 public TapAPIContract() : this(TapTradeCppWrapperPINVOKE.new_TapAPIContract(), true)
 {
 }
Example #26
0
 public TapAPIOrderActionRsp() : this(TapTradeCppWrapperPINVOKE.new_TapAPIOrderActionRsp(), true)
 {
 }
 public TapAPICloseQryReq() : this(TapTradeCppWrapperPINVOKE.new_TapAPICloseQryReq(), true)
 {
 }
 public TapAPIOrderInfoNotice() : this(TapTradeCppWrapperPINVOKE.new_TapAPIOrderInfoNotice(), true)
 {
 }
Example #29
0
 public TapAPIPositionProfitNotice() : this(TapTradeCppWrapperPINVOKE.new_TapAPIPositionProfitNotice(), true)
 {
 }
Example #30
0
 public virtual void OnRspLogin(int errorCode, TapAPITradeLoginRspInfo loginRspInfo)
 {
     TapTradeCppWrapperPINVOKE.ITapTradeAPINotify_OnRspLogin(swigCPtr, errorCode, TapAPITradeLoginRspInfo.getCPtr(loginRspInfo));
 }