Exemplo n.º 1
0
 public void hole_card_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   hole_card_args args = new hole_card_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   hole_card_result result = new hole_card_result();
   iface_.hole_card(args.Card);
   oprot.WriteMessageBegin(new TMessage("hole_card", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Exemplo n.º 2
0
 public void recv_hole_card()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   hole_card_result result = new hole_card_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   return;
 }