Beispiel #1
0
 public void send_getMessageBoxCompactWrapUpList(int start, int messageBoxCount)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getMessageBoxCompactWrapUpList", TMessageType.Call, seqid_));
   getMessageBoxCompactWrapUpList_args args = new getMessageBoxCompactWrapUpList_args();
   args.Start = start;
   args.MessageBoxCount = messageBoxCount;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Beispiel #2
0
 public void getMessageBoxCompactWrapUpList_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getMessageBoxCompactWrapUpList_args args = new getMessageBoxCompactWrapUpList_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getMessageBoxCompactWrapUpList_result result = new getMessageBoxCompactWrapUpList_result();
   try {
     result.Success = iface_.getMessageBoxCompactWrapUpList(args.Start, args.MessageBoxCount);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("getMessageBoxCompactWrapUpList", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }