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

org.bidib.wizard.api.model.SwitchingNodeInterface Maven / Gradle / Ivy

The newest version!
package org.bidib.wizard.api.model;

public interface SwitchingNodeInterface {

    /**
     * Get the wrapped node.
     * 
     * @return the node
     */
    NodeInterface getNode();

    /**
     * Check if query the port status feature is enabled on this node.
     * 
     * @return {@code true}: query port status is enabled, {@code false} otherwise
     */
    boolean isQueryPortStatusEnabled();

    /**
     * Set the port query all enabled flag. This flag signals that the MSG_LC_PORT_QUERY_ALL is supported by the node.
     * 
     * @param enabled
     *            the enabled flag
     */
    void setPortQueryAllEnabled(boolean enabled);

    /**
     * Query the port query all enabled flag. This flag signals that the MSG_LC_PORT_QUERY_ALL is supported by the node
     * because the protocol version is higher than {@code 0.6}.
     * 
     * @return the port query all enabled flag
     */
    boolean isPortQueryAllEnabled();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy