public bool recv_SetValue_int16() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } SetValue_int16_result result = new SetValue_int16_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.success) { return result.Success; } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "SetValue_int16 failed: unknown result"); }
public void SetValue_int16_Process(int seqid, TProtocol iprot, TProtocol oprot) { SetValue_int16_args args = new SetValue_int16_args(); args.Read(iprot); iprot.ReadMessageEnd(); SetValue_int16_result result = new SetValue_int16_result(); result.Success = iface_.SetValue_int16(args._id, args._value); oprot.WriteMessageBegin(new TMessage("SetValue_int16", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }