public void send_notifyUpdated(long lastRev, DeviceInfo deviceInfo) #endif { oprot_.WriteMessageBegin(new TMessage("notifyUpdated", TMessageType.Call, seqid_)); notifyUpdated_args args = new notifyUpdated_args(); args.LastRev = lastRev; args.DeviceInfo = deviceInfo; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
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(); }