public void Intercept(IInvocation invocation)
        {
            WampMessage <object> message = invocation.Arguments[0] as WampMessage <object>;
            var typed = mBinding.Formatter.SerializeMessage(message);

            mPlayer.Response(typed);
            mRecorder.Record(typed);
        }
示例#2
0
        private void Record(IInvocation invocation)
        {
            WampMessage <object> serialized = SerializeRequest(invocation);

            mRecorder.Record(mBinding.Formatter.SerializeMessage(serialized));
        }