public void recv_reportRooms() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } reportRooms_result result = new reportRooms_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.e) { throw result.E; } return; }
public void reportRooms_Process(int seqid, TProtocol iprot, TProtocol oprot) { reportRooms_args args = new reportRooms_args(); args.Read(iprot); iprot.ReadMessageEnd(); reportRooms_result result = new reportRooms_result(); try { iface_.reportRooms(args.SyncOpRevision, args.Rooms); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("reportRooms", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }