org.bidib.wizard.api.model.SwitchingNodeInterface Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bidibwizard-api Show documentation
Show all versions of bidibwizard-api Show documentation
jBiDiB BiDiB Wizard API POM
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();
}