public string recv_GetNodeManufacturerId() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } GetNodeManufacturerId_result result = new GetNodeManufacturerId_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.success) { return result.Success; } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "GetNodeManufacturerId failed: unknown result"); }
public void GetNodeManufacturerId_Process(int seqid, TProtocol iprot, TProtocol oprot) { GetNodeManufacturerId_args args = new GetNodeManufacturerId_args(); args.Read(iprot); iprot.ReadMessageEnd(); GetNodeManufacturerId_result result = new GetNodeManufacturerId_result(); result.Success = iface_.GetNodeManufacturerId(args._homeId, args._nodeId); oprot.WriteMessageBegin(new TMessage("GetNodeManufacturerId", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }