/// <summary> /// <see cref="IInterceptor.Intercept"/> /// </summary> public void Intercept(IInvocation invocation) { WampMessage <object> serialized = mOutgoingSerializer.SerializeRequest (invocation.Method, invocation.Arguments); mOutgoingHandler.Handle(serialized); }
protected void Send(MethodInfo method, params object[] arguments) { WampMessage <object> serialized = mRequestSerializer.SerializeRequest(method, arguments); mMessageHandler.Handle(serialized); }
/// <summary> /// <see cref="IInterceptor.Intercept"/> /// </summary> /// <param name="invocation"></param> public void Intercept(IInvocation invocation) { WampMessage <object> message = invocation.Arguments[0] as WampMessage <object>; mOutgoingHandler.Handle(message); }