Class NodePingModel

  • All Implemented Interfaces:
    com.jgoodies.common.bean.ObservableBean, com.jgoodies.common.bean.ObservableBean2, Serializable

    public class NodePingModel
    extends com.jgoodies.binding.beans.Model
    See Also:
    Serialized Form
    • Constructor Detail

      • NodePingModel

        public NodePingModel​(org.bidib.wizard.api.model.NodeInterface node)
    • Method Detail

      • registerNode

        public void registerNode()
      • freeNode

        public void freeNode()
      • getNode

        public org.bidib.wizard.api.model.NodeInterface getNode()
        Returns:
        the node
      • getNodePingState

        public NodePingState getNodePingState()
        Returns:
        the nodePingState
      • setNodePingState

        public void setNodePingState​(NodePingState nodePingState)
        Parameters:
        nodePingState - the nodePingState to set
      • setNodeLabel

        public void setNodeLabel​(String nodeLabel)
        Parameters:
        nodeLabel - the node label to set
      • getNodeLabel

        public String getNodeLabel()
        Returns:
        the node label
      • getPingInterval

        public Integer getPingInterval()
        Returns:
        the pingInterval in milliseconds
      • setPingInterval

        public void setPingInterval​(Integer pingInterval)
        Parameters:
        pingInterval - the pingInterval in milliseconds to set
      • getLastPing

        public long getLastPing()
        Returns:
        the lastPing
      • setLastPing

        public void setLastPing​(long lastPing)
        Parameters:
        lastPing - the lastPing to set
      • setData

        public void setData​(int data)
      • getData

        public int getData()
      • getNextIncData

        public int getNextIncData()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • prepareNodeLabel

        public String prepareNodeLabel()