예제 #1
0
 public void recv_notifyInstalled()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   notifyInstalled_result result = new notifyInstalled_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   return;
 }
예제 #2
0
 public void notifyInstalled_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   notifyInstalled_args args = new notifyInstalled_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   notifyInstalled_result result = new notifyInstalled_result();
   iface_.notifyInstalled(args.UdidHash, args.ApplicationTypeWithExtensions);
   oprot.WriteMessageBegin(new TMessage("notifyInstalled", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }