Esempio n. 1
0
 public void send_notifyIndividualEvent(NotificationStatus notificationStatus, List<string> receiverMids)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("notifyIndividualEvent", TMessageType.Call, seqid_));
   notifyIndividualEvent_args args = new notifyIndividualEvent_args();
   args.NotificationStatus = notificationStatus;
   args.ReceiverMids = receiverMids;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Esempio n. 2
0
 public void notifyIndividualEvent_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   notifyIndividualEvent_args args = new notifyIndividualEvent_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   notifyIndividualEvent_result result = new notifyIndividualEvent_result();
   try {
     iface_.notifyIndividualEvent(args.NotificationStatus, args.ReceiverMids);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("notifyIndividualEvent", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }