Package org.hpi.dialogue.protocol.response

Source Code of org.hpi.dialogue.protocol.response.ServerShutdownResponse

/**
*
*/
package org.hpi.dialogue.protocol.response;

import org.hpi.dialogue.protocol.common.HPIDialogueConstants;
import org.simplestructruedata.entities.SSDObjectNode;

/**
* @author Jean Villete
*
*/
public class ServerShutdownResponse extends Response {

    private static final long serialVersionUID = -9158103958729952002L;

    public ServerShutdownResponse(String message, Status status) {
        super(message, status);
    }

    public String getServiceName() {
        return HPIDialogueConstants.SERVER_SHUTDOWN_SERVICE;
    }

    public SSDObjectNode getSSDParameters() {
        return new SSDObjectNode(HPIDialogueConstants.PARAMETERS);
    }

}
TOP

Related Classes of org.hpi.dialogue.protocol.response.ServerShutdownResponse

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.