Exemplo n.º 1
0
 public void send_fetchOperations(long localRev, int count)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("fetchOperations", TMessageType.Call, seqid_));
   fetchOperations_args args = new fetchOperations_args();
   args.LocalRev = localRev;
   args.Count = count;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Exemplo n.º 2
0
 public void fetchOperations_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   fetchOperations_args args = new fetchOperations_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   fetchOperations_result result = new fetchOperations_result();
   try {
     result.Success = iface_.fetchOperations(args.LocalRev, args.Count);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("fetchOperations", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }