예제 #1
0
 public void updateC2DMRegistrationId_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   updateC2DMRegistrationId_args args = new updateC2DMRegistrationId_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   updateC2DMRegistrationId_result result = new updateC2DMRegistrationId_result();
   try {
     iface_.updateC2DMRegistrationId(args.RegistrationId);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("updateC2DMRegistrationId", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
예제 #2
0
 public void send_updateC2DMRegistrationId(string registrationId)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("updateC2DMRegistrationId", TMessageType.Call, seqid_));
   updateC2DMRegistrationId_args args = new updateC2DMRegistrationId_args();
   args.RegistrationId = registrationId;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }