All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.dsa.iot.dslink.methods.Request Maven / Gradle / Ivy

There is a newer version: 0.24.2
Show newest version
package org.dsa.iot.dslink.methods;

import org.dsa.iot.dslink.util.json.JsonObject;

/**
 * Generic request API
 *
 * @author Samuel Grenier
 */
public abstract class Request {

    /**
     * @return The name of the request
     */
    public abstract String getName();

    /**
     * Add the JSON request values of the specified request to the JSON to
     * send to the responder.
     *
     * @param out Values to add to.
     */
    public abstract void addJsonValues(JsonObject out);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy