Exemplo n.º 1
0
 public void send_getPageItems(string key, long page, long numPerPage, List<string> displayColumns)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getPageItems", TMessageType.Call, seqid_));
   getPageItems_args args = new getPageItems_args();
   args.Key = key;
   args.Page = page;
   args.NumPerPage = numPerPage;
   args.DisplayColumns = displayColumns;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Exemplo n.º 2
0
 public void getPageItems_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getPageItems_args args = new getPageItems_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getPageItems_result result = new getPageItems_result();
   result.Success = iface_.getPageItems(args.Key, args.Page, args.NumPerPage, args.DisplayColumns);
   oprot.WriteMessageBegin(new TMessage("getPageItems", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }