示例#1
0
 public void send_increment(byte[] table, TIncrement increment)
 {
     oprot_.WriteMessageBegin(new TMessage("increment", TMessageType.Call, seqid_));
     increment_args args = new increment_args();
     args.Table = table;
     args.Increment = increment;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }
示例#2
0
 public void send_increment(TIncrement increment)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("increment", TMessageType.Call, seqid_));
   increment_args args = new increment_args();
   args.Increment = increment;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }