public void UpdateRealtimeCapLBS_Process(int seqid, TProtocol iprot, TProtocol oprot) { UpdateRealtimeCapLBS_args args = new UpdateRealtimeCapLBS_args(); args.Read(iprot); iprot.ReadMessageEnd(); UpdateRealtimeCapLBS_result result = new UpdateRealtimeCapLBS_result(); result.Success = iface_.UpdateRealtimeCapLBS(args.Info); oprot.WriteMessageBegin(new TMessage("UpdateRealtimeCapLBS", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public int recv_UpdateRealtimeCapLBS() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } UpdateRealtimeCapLBS_result result = new UpdateRealtimeCapLBS_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.success) { return(result.Success); } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "UpdateRealtimeCapLBS failed: unknown result"); }