Ejemplo n.º 1
0
 public void unblockContact_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   unblockContact_args args = new unblockContact_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   unblockContact_result result = new unblockContact_result();
   try {
     iface_.unblockContact(args.ReqSeq, args.Id);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("unblockContact", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Ejemplo n.º 2
0
 public void recv_unblockContact()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   unblockContact_result result = new unblockContact_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.e) {
     throw result.E;
   }
   return;
 }