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

org.bidib.wizard.api.model.connection.OccupancyConnection Maven / Gradle / Ivy

There is a newer version: 2.0.29
Show newest version
package org.bidib.wizard.api.model.connection;

import java.util.List;

import org.bidib.wizard.api.model.NodeInterface;
import org.bidib.wizard.model.ports.FeedbackPort;

public interface OccupancyConnection {

    /**
     * Get the feedback ports. If the feedback ports are not cached, a request to get the number of feedback ports from
     * the bidib node is performed.
     * 
     * @param node
     *            the node
     * @return the collection of feedback ports
     */
    List getFeedbackPorts(final NodeInterface node);

    /**
     * Get the feedback state, address state and confidence of the feedback ports
     * 
     * @param node
     *            the node to query
     * @param begin
     *            the start range of port number
     * @param end
     *            the end range of port number
     */
    void queryFeedbackPortStatus(final NodeInterface node, int begin, int end);

    /**
     * Get the confidence of the feedback ports
     * 
     * @param node
     *            the node to query
     */
    void queryFeedbackPortConfidence(final NodeInterface node);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy