public void send_SwitchAllOn(int _homeId) #endif { oprot_.WriteMessageBegin(new TMessage("SwitchAllOn", TMessageType.Call, seqid_)); SwitchAllOn_args args = new SwitchAllOn_args(); args._homeId = _homeId; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void SwitchAllOn_Process(int seqid, TProtocol iprot, TProtocol oprot) { SwitchAllOn_args args = new SwitchAllOn_args(); args.Read(iprot); iprot.ReadMessageEnd(); SwitchAllOn_result result = new SwitchAllOn_result(); iface_.SwitchAllOn(args._homeId); oprot.WriteMessageBegin(new TMessage("SwitchAllOn", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }