--- /dev/null
+/*\r
+ * ============LICENSE_START========================================================================\r
+ * ONAP : tr-069-adapter\r
+ * =================================================================================================\r
+ * Copyright (C) 2020 CommScope Inc Intellectual Property.\r
+ * =================================================================================================\r
+ * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License,\r
+ * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You\r
+ * may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\r
+ * either express or implied. See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ * ===============LICENSE_END=======================================================================\r
+ */\r
+\r
+package org.commscope.tr069adapter.acs.cpe.rpc;\r
+\r
+import javax.xml.soap.SOAPBodyElement;\r
+import javax.xml.soap.SOAPException;\r
+import javax.xml.soap.SOAPFactory;\r
+\r
+import org.commscope.tr069adapter.acs.cpe.TR069RPC;\r
+\r
+public class ScheduleInform extends TR069RPC {\r
+\r
+ private static final long serialVersionUID = -8331857985546047109L;\r
+\r
+ public ScheduleInform() {\r
+ name = "ScheduleInform";\r
+ }\r
+\r
+ public ScheduleInform(int delaySeconds, String commandKey) {\r
+ this();\r
+ this.commandKey = commandKey;\r
+ this.delaySeconds = delaySeconds;\r
+ }\r
+\r
+ protected void createBody(SOAPBodyElement body, SOAPFactory spf) throws SOAPException {\r
+ body.addChildElement(COMMAND_KEY).setValue(commandKey);\r
+ body.addChildElement("DelaySeconds").setValue(((Integer) delaySeconds).toString());\r
+ }\r
+\r
+ protected void parseBody(SOAPBodyElement body, SOAPFactory f) throws SOAPException {\r
+ logger.isDebugEnabled();\r
+ }\r
+\r
+ private String commandKey;\r
+ private int delaySeconds;\r
+\r
+ public String getCommandKey() {\r
+ return commandKey;\r
+ }\r
+\r
+ public int getDelaySeconds() {\r
+ return delaySeconds;\r
+ }\r
+}\r