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))); }