Esempio n. 1
0
 public void send_getNotificationPolicy(CarrierCode carrier)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getNotificationPolicy", TMessageType.Call, seqid_));
   getNotificationPolicy_args args = new getNotificationPolicy_args();
   args.Carrier = carrier;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Esempio n. 2
0
 public void getNotificationPolicy_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getNotificationPolicy_args args = new getNotificationPolicy_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getNotificationPolicy_result result = new getNotificationPolicy_result();
   try {
     result.Success = iface_.getNotificationPolicy(args.Carrier);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("getNotificationPolicy", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }