public TapAPIChangePasswordReq(TapAPIChangePasswordReq other) : this(TapQuotePINVOKE.new_TapAPIChangePasswordReq__SWIG_1(TapAPIChangePasswordReq.getCPtr(other)), true) { if (TapQuotePINVOKE.SWIGPendingException.Pending) { throw TapQuotePINVOKE.SWIGPendingException.Retrieve(); } }
public TapAPIQuotLoginRspInfo(TapAPIQuotLoginRspInfo other) : this(TapQuotePINVOKE.new_TapAPIQuotLoginRspInfo__SWIG_1(TapAPIQuotLoginRspInfo.getCPtr(other)), true) { if (TapQuotePINVOKE.SWIGPendingException.Pending) { throw TapQuotePINVOKE.SWIGPendingException.Retrieve(); } }
public TapAPIContract(TapAPIContract other) : this(TapQuotePINVOKE.new_TapAPIContract__SWIG_1(TapAPIContract.getCPtr(other)), true) { if (TapQuotePINVOKE.SWIGPendingException.Pending) { throw TapQuotePINVOKE.SWIGPendingException.Retrieve(); } }
public TapAPICommodity(TapAPICommodity other) : this(TapQuotePINVOKE.new_TapAPICommodity__SWIG_1(TapAPICommodity.getCPtr(other)), true) { if (TapQuotePINVOKE.SWIGPendingException.Pending) { throw TapQuotePINVOKE.SWIGPendingException.Retrieve(); } }
public TapAPIQuoteLoginAuth(TapAPIQuoteLoginAuth other) : this(TapQuotePINVOKE.new_TapAPIQuoteLoginAuth__SWIG_1(TapAPIQuoteLoginAuth.getCPtr(other)), true) { if (TapQuotePINVOKE.SWIGPendingException.Pending) { throw TapQuotePINVOKE.SWIGPendingException.Retrieve(); } }
public TapAPITradingTimeBucket(TapAPITradingTimeBucket other) : this(TapQuotePINVOKE.new_TapAPITradingTimeBucket__SWIG_1(TapAPITradingTimeBucket.getCPtr(other)), true) { if (TapQuotePINVOKE.SWIGPendingException.Pending) { throw TapQuotePINVOKE.SWIGPendingException.Retrieve(); } }
private void SwigDirectorConnect() { if (SwigDerivedClassHasMethod("OnRspLogin", swigMethodTypes0)) { swigDelegate0 = new SwigDelegateITapQuoteAPINotify_0(SwigDirectorOnRspLogin); } if (SwigDerivedClassHasMethod("OnAPIReady", swigMethodTypes1)) { swigDelegate1 = new SwigDelegateITapQuoteAPINotify_1(SwigDirectorOnAPIReady); } if (SwigDerivedClassHasMethod("OnDisconnect", swigMethodTypes2)) { swigDelegate2 = new SwigDelegateITapQuoteAPINotify_2(SwigDirectorOnDisconnect); } if (SwigDerivedClassHasMethod("OnRspChangePassword", swigMethodTypes3)) { swigDelegate3 = new SwigDelegateITapQuoteAPINotify_3(SwigDirectorOnRspChangePassword); } if (SwigDerivedClassHasMethod("OnRspQryExchange", swigMethodTypes4)) { swigDelegate4 = new SwigDelegateITapQuoteAPINotify_4(SwigDirectorOnRspQryExchange); } if (SwigDerivedClassHasMethod("OnRspQryCommodity", swigMethodTypes5)) { swigDelegate5 = new SwigDelegateITapQuoteAPINotify_5(SwigDirectorOnRspQryCommodity); } if (SwigDerivedClassHasMethod("OnRspQryTimeBucketOfCommodity", swigMethodTypes6)) { swigDelegate6 = new SwigDelegateITapQuoteAPINotify_6(SwigDirectorOnRspQryTimeBucketOfCommodity); } if (SwigDerivedClassHasMethod("OnRtnTimeBucketOfCommodity", swigMethodTypes7)) { swigDelegate7 = new SwigDelegateITapQuoteAPINotify_7(SwigDirectorOnRtnTimeBucketOfCommodity); } if (SwigDerivedClassHasMethod("OnRspQryContract", swigMethodTypes8)) { swigDelegate8 = new SwigDelegateITapQuoteAPINotify_8(SwigDirectorOnRspQryContract); } if (SwigDerivedClassHasMethod("OnRtnContract", swigMethodTypes9)) { swigDelegate9 = new SwigDelegateITapQuoteAPINotify_9(SwigDirectorOnRtnContract); } if (SwigDerivedClassHasMethod("OnRspSubscribeQuote", swigMethodTypes10)) { swigDelegate10 = new SwigDelegateITapQuoteAPINotify_10(SwigDirectorOnRspSubscribeQuote); } if (SwigDerivedClassHasMethod("OnRspUnSubscribeQuote", swigMethodTypes11)) { swigDelegate11 = new SwigDelegateITapQuoteAPINotify_11(SwigDirectorOnRspUnSubscribeQuote); } if (SwigDerivedClassHasMethod("OnRtnQuote", swigMethodTypes12)) { swigDelegate12 = new SwigDelegateITapQuoteAPINotify_12(SwigDirectorOnRtnQuote); } if (SwigDerivedClassHasMethod("OnRspQryHisQuote", swigMethodTypes13)) { swigDelegate13 = new SwigDelegateITapQuoteAPINotify_13(SwigDirectorOnRspQryHisQuote); } TapQuotePINVOKE.ITapQuoteAPINotify_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13); }
public virtual TapAPIQuoteWhole GetFullQuote(TapAPIContract contract) { IntPtr cPtr = TapQuotePINVOKE.ITapQuoteAPI_GetFullQuote(swigCPtr, TapAPIContract.getCPtr(contract)); TapAPIQuoteWhole ret = (cPtr == IntPtr.Zero) ? null : new TapAPIQuoteWhole(cPtr, false); return(ret); }
public TapAPIHisQuote(TapAPIHisQuote other) : this(TapQuotePINVOKE.new_TapAPIHisQuote__SWIG_1(TapAPIHisQuote.getCPtr(other)), true) { if (TapQuotePINVOKE.SWIGPendingException.Pending) { throw TapQuotePINVOKE.SWIGPendingException.Retrieve(); } }
public ITapQuoteAPINotify(ITapQuoteAPINotify other) : this(TapQuotePINVOKE.new_ITapQuoteAPINotify__SWIG_1(ITapQuoteAPINotify.getCPtr(other)), true) { if (TapQuotePINVOKE.SWIGPendingException.Pending) { throw TapQuotePINVOKE.SWIGPendingException.Retrieve(); } SwigDirectorConnect(); }
public virtual void Dispose() { lock (this) { if (swigCPtr.Handle != IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; TapQuotePINVOKE.delete_TapAPIChangePasswordReq(swigCPtr); } swigCPtr = new HandleRef(null, IntPtr.Zero); } GC.SuppressFinalize(this); } }
public virtual void Dispose() { lock (this) { if (swigCPtr.Handle != IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; TapQuotePINVOKE.delete_TapAPITimeBucketOfCommodityInfo(swigCPtr); } swigCPtr = new HandleRef(null, IntPtr.Zero); } GC.SuppressFinalize(this); } }
public virtual void OnRspSubscribeQuote(uint sessionID, int errorCode, char isLast, TapAPIQuoteWhole info) { TapQuotePINVOKE.ITapQuoteAPINotify_OnRspSubscribeQuote(swigCPtr, sessionID, errorCode, isLast, TapAPIQuoteWhole.getCPtr(info)); }
public virtual int QryContract(out uint sessionID, TapAPICommodity qryReq) { int ret = TapQuotePINVOKE.ITapQuoteAPI_QryContract(swigCPtr, out sessionID, TapAPICommodity.getCPtr(qryReq)); return(ret); }
public TapAPIQuoteLoginAuth() : this(TapQuotePINVOKE.new_TapAPIQuoteLoginAuth__SWIG_0(), true) { }
public virtual int UnSubscribeQuote(out uint sessionID, TapAPIContract contract) { int ret = TapQuotePINVOKE.ITapQuoteAPI_UnSubscribeQuote(swigCPtr, out sessionID, TapAPIContract.getCPtr(contract)); return(ret); }
public TapAPIContract() : this(TapQuotePINVOKE.new_TapAPIContract__SWIG_0(), true) { }
public virtual int QryHisQuote(out uint sessionID, TapAPIHisQuoteQryReq qryReq) { int ret = TapQuotePINVOKE.ITapQuoteAPI_QryHisQuote(swigCPtr, out sessionID, TapAPIHisQuoteQryReq.getCPtr(qryReq)); return(ret); }
public virtual int SetHostAddress(string IP, ushort port) { int ret = TapQuotePINVOKE.ITapQuoteAPI_SetHostAddress(swigCPtr, IP, port); return(ret); }
public virtual int QryTradingTimeBucketOfCommodity(out uint sessionID, TapAPICommodity qryReq) { int ret = TapQuotePINVOKE.ITapQuoteAPI_QryTradingTimeBucketOfCommodity(swigCPtr, out sessionID, TapAPICommodity.getCPtr(qryReq)); return(ret); }
public virtual int QryCommodity(out uint sessionID) { int ret = TapQuotePINVOKE.ITapQuoteAPI_QryCommodity(swigCPtr, out sessionID); return(ret); }
public virtual int GetServerTime(SWIGTYPE_p_a_20__char datetime) { int ret = TapQuotePINVOKE.ITapQuoteAPI_GetServerTime(swigCPtr, SWIGTYPE_p_a_20__char.getCPtr(datetime)); return(ret); }
public TapAPIChangePasswordReq() : this(TapQuotePINVOKE.new_TapAPIChangePasswordReq__SWIG_0(), true) { }
public virtual int Disconnect() { int ret = TapQuotePINVOKE.ITapQuoteAPI_Disconnect(swigCPtr); return(ret); }
public virtual int Login(TapAPIQuoteLoginAuth loginAuth) { int ret = TapQuotePINVOKE.ITapQuoteAPI_Login(swigCPtr, TapAPIQuoteLoginAuth.getCPtr(loginAuth)); return(ret); }
public TapAPITradingTimeBucket() : this(TapQuotePINVOKE.new_TapAPITradingTimeBucket__SWIG_0(), true) { }
public TapAPICommodity() : this(TapQuotePINVOKE.new_TapAPICommodity__SWIG_0(), true) { }
public virtual int SetAPINotify(ITapQuoteAPINotify apiNotify) { int ret = TapQuotePINVOKE.ITapQuoteAPI_SetAPINotify(swigCPtr, ITapQuoteAPINotify.getCPtr(apiNotify)); return(ret); }
public virtual int ChangePassword(out uint sessionID, TapAPIChangePasswordReq req) { int ret = TapQuotePINVOKE.ITapQuoteAPI_ChangePassword(swigCPtr, out sessionID, TapAPIChangePasswordReq.getCPtr(req)); return(ret); }
public virtual int QryExchange(out uint sessionID) { int ret = TapQuotePINVOKE.ITapQuoteAPI_QryExchange(swigCPtr, out sessionID); return(ret); }