Ejemplo n.º 1
0
 public void send_getCoinUseAndRefundHistory(CoinHistoryCondition request)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getCoinUseAndRefundHistory", TMessageType.Call, seqid_));
   getCoinUseAndRefundHistory_args args = new getCoinUseAndRefundHistory_args();
   args.Request = request;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Ejemplo n.º 2
0
 public IAsyncResult send_getCoinUseAndRefundHistory(AsyncCallback callback, object state, CoinHistoryCondition request)
Ejemplo n.º 3
0
      public CoinHistoryResult getCoinUseAndRefundHistory(CoinHistoryCondition request)
      {
        #if !SILVERLIGHT
        send_getCoinUseAndRefundHistory(request);
        return recv_getCoinUseAndRefundHistory();

        #else
        var asyncResult = Begin_getCoinUseAndRefundHistory(null, null, request);
        return End_getCoinUseAndRefundHistory(asyncResult);

        #endif
      }
Ejemplo n.º 4
0
 public IAsyncResult Begin_getCoinUseAndRefundHistory(AsyncCallback callback, object state, CoinHistoryCondition request)
 {
   return send_getCoinUseAndRefundHistory(callback, state, request);
 }
Ejemplo n.º 5
0
 public IAsyncResult send_getCoinPurchaseHistory(AsyncCallback callback, object state, CoinHistoryCondition request)
Ejemplo n.º 6
0
 public void Read (TProtocol iprot)
 {
   TField field;
   iprot.ReadStructBegin();
   while (true)
   {
     field = iprot.ReadFieldBegin();
     if (field.Type == TType.Stop) { 
       break;
     }
     switch (field.ID)
     {
       case 2:
         if (field.Type == TType.Struct) {
           Request = new CoinHistoryCondition();
           Request.Read(iprot);
         } else { 
           TProtocolUtil.Skip(iprot, field.Type);
         }
         break;
       default: 
         TProtocolUtil.Skip(iprot, field.Type);
         break;
     }
     iprot.ReadFieldEnd();
   }
   iprot.ReadStructEnd();
 }