public void community_card_Process(int seqid, TProtocol iprot, TProtocol oprot) { community_card_args args = new community_card_args(); args.Read(iprot); iprot.ReadMessageEnd(); community_card_result result = new community_card_result(); iface_.community_card(args.Card); oprot.WriteMessageBegin(new TMessage("community_card", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void recv_community_card() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } community_card_result result = new community_card_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); return; }