Example #1
0
 public void send_GetValueAsInt(RemoteValueID _id)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("GetValueAsInt", TMessageType.Call, seqid_));
   GetValueAsInt_args args = new GetValueAsInt_args();
   args._id = _id;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Example #2
0
 public void GetValueAsInt_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   GetValueAsInt_args args = new GetValueAsInt_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   GetValueAsInt_result result = new GetValueAsInt_result();
   result.Success = iface_.GetValueAsInt(args._id);
   oprot.WriteMessageBegin(new TMessage("GetValueAsInt", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }