Ejemplo n.º 1
0
 public void send_GetValueAsBool(RemoteValueID _id)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("GetValueAsBool", TMessageType.Call, seqid_));
   GetValueAsBool_args args = new GetValueAsBool_args();
   args._id = _id;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Ejemplo n.º 2
0
 public void GetValueAsBool_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   GetValueAsBool_args args = new GetValueAsBool_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   GetValueAsBool_result result = new GetValueAsBool_result();
   result.Success = iface_.GetValueAsBool(args._id);
   oprot.WriteMessageBegin(new TMessage("GetValueAsBool", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }