Example #1
0
 public void send_getLastAnnouncementIndex()
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getLastAnnouncementIndex", TMessageType.Call, seqid_));
   getLastAnnouncementIndex_args args = new getLastAnnouncementIndex_args();
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Example #2
0
 public void getLastAnnouncementIndex_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getLastAnnouncementIndex_args args = new getLastAnnouncementIndex_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getLastAnnouncementIndex_result result = new getLastAnnouncementIndex_result();
   try {
     result.Success = iface_.getLastAnnouncementIndex();
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("getLastAnnouncementIndex", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }