public void recv_notifyUpdated() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } notifyUpdated_result result = new notifyUpdated_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.e) { throw result.E; } return; }
public void notifyUpdated_Process(int seqid, TProtocol iprot, TProtocol oprot) { notifyUpdated_args args = new notifyUpdated_args(); args.Read(iprot); iprot.ReadMessageEnd(); notifyUpdated_result result = new notifyUpdated_result(); try { iface_.notifyUpdated(args.LastRev, args.DeviceInfo); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("notifyUpdated", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }