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