reboot.java

来自「openacs source for CPE wan management」· Java 代码 · 共 42 行

JAVA
42
字号
/*
 * Reboot.java
 *
 * Created on Antradienis, 2007, Lapkri鑙o 20, 19.05
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.openacs.message;

import org.openacs.Message;
import javax.xml.soap.SOAPBodyElement;
import javax.xml.soap.SOAPException;
import javax.xml.soap.SOAPFactory;

/**
 *
 * @author Administrator
 */
public class Reboot extends Message {
    
    /** Creates a new instance of Reboot */
    public Reboot() {
        name = "Reboot";
    }

    public Reboot(String CommandKey) {
        this ();
        this.CommandKey = CommandKey;
    }

    protected void createBody(SOAPBodyElement body, SOAPFactory spf) throws SOAPException {
        body.addChildElement(COMMAND_KEY).setValue(CommandKey);
    }

    protected void parseBody(SOAPBodyElement body, SOAPFactory f) throws SOAPException {
    }
    
    public String CommandKey;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?