예제 #1
0
        public ThriftMessage Send(ThriftMessage thriftMessage)
        {
            var message  = MessageMapper.Map(thriftMessage);
            var response = messageReceiver.Send(message);

            return(MessageMapper.Map(response).As <ThriftMessage>());
        }
        protected override Message SendInternal(Message message)
        {
            var thriftMessage = MessageMapper.Map(message).As <ThriftMessage>();

            return(MessageMapper.Map(client.Send(thriftMessage)));
        }