Example #1
0
 public void requestIdentityUnbind_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   requestIdentityUnbind_args args = new requestIdentityUnbind_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   requestIdentityUnbind_result result = new requestIdentityUnbind_result();
   try {
     iface_.requestIdentityUnbind(args.Provider, args.Identifier);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("requestIdentityUnbind", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Example #2
0
 public void recv_requestIdentityUnbind()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   requestIdentityUnbind_result result = new requestIdentityUnbind_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.e) {
     throw result.E;
   }
   return;
 }