public object Invoke(IMethodInvocation invocation)
 {
     _channel.Send(_messageFactory.CreateRequestMessage(null, _interfaceName,
                                                        invocation.Method.Name, invocation.Arguments, false));
     return(null);
 }
 private bool SendMessage(IMethodInvocation invocation, IResponseHandler handler)
 {
     return(_channel.Send(_messageFactory.CreateRequestMessage(handler.HandledMessageType, _interfaceName,
                                                               invocation.Method.Name, invocation.Arguments, true)));
 }