public void Cancel(IWampCaller caller, long requestId, CancelOptions options) { WampRpcOperationCallback callback = new WampRpcOperationCallback(caller, requestId); lock (mLock) { if (mCallbackToInvocation.TryGetValue(callback, out WampRpcInvocation invocation)) { IWampCallee callee = invocation.Operation.Callee; callee.Interrupt(invocation.InvocationId, new InterruptDetails() { Mode = options.Mode }); } } }
public void Cancel(IWampCaller caller, long requestId, CancelOptions options) { throw new NotImplementedException(); }
public WampMessage <object> Cancel(long requestId, CancelOptions options) { return(mSerializer.SerializeRequest(mCancel2, new object[] { requestId, options })); }
public void Cancel(long requestId, CancelOptions options) { Send(mCancel2, requestId, options); }
/// <summary> Creates a new prototype with a constructor format similar to Animation. </summary> /// <remarks> The textures are not loaded right away, but when Clone() is called. </remarks> public AnimationPrototype(ContentManager xContent, ushort p_iID, byte p_byAnimationDirection, string sTexture, Vector2 p_v2PositionOffset, int p_iTicksPerFrame, int p_iEndFrame, int p_iCellWidth, int p_iCellHeight, int p_iOffsetX, int p_iOffsetY, int p_iFramesPerRow, LoopSettings p_enLoopSettings, CancelOptions p_enDefaultCancelOptions, bool p_bIsMoveCancellable, bool p_bIsSpellCancellable, params AnimationInstruction[] p_axAnimationInstructions) : base(p_iID, p_byAnimationDirection, RenderMaster.txNullTex, p_v2PositionOffset, p_iTicksPerFrame, p_iEndFrame, p_iCellWidth, p_iCellHeight, p_iOffsetX, p_iOffsetY, p_iFramesPerRow, p_enLoopSettings, p_enDefaultCancelOptions, p_bIsMoveCancellable, p_bIsSpellCancellable, p_axAnimationInstructions) { sTexturePath = sTexture; this.xContent = xContent; }
public void Cancel(CancelOptions options) { Proxy.Cancel(RequestId, options); }
public void Cancel(IWampCaller caller, long requestId, CancelOptions options) { mHandler.Cancel(caller, requestId, options); }
public virtual void Cancel(IWampCaller caller, long requestId, CancelOptions options) { mDealer.Cancel(caller, requestId, options); }