Example #1
0
 public void getPresentsReceived_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getPresentsReceived_args args = new getPresentsReceived_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getPresentsReceived_result result = new getPresentsReceived_result();
   try {
     result.Success = iface_.getPresentsReceived(args.Start, args.Size, args.Language, args.Country);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("getPresentsReceived", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Example #2
0
 public void send_getPresentsReceived(long start, int size, string language, string country)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getPresentsReceived", TMessageType.Call, seqid_));
   getPresentsReceived_args args = new getPresentsReceived_args();
   args.Start = start;
   args.Size = size;
   args.Language = language;
   args.Country = country;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }