Class UiClusterMember


  • public class UiClusterMember
    extends UiElement
    Represents an individual member of the cluster (ONOS instance).
    • Constructor Summary

      Constructors 
      Constructor Description
      UiClusterMember​(UiTopology topology, ControllerNode cnode)
      Constructs a UI cluster member, with a reference to the parent topology instance and the specified controller node instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ControllerNode backingNode()
      Returns the controller node instance backing this UI cluster member.
      NodeId id()
      Returns the identity of the cluster member.
      java.lang.String idAsString()
      Returns a string representation of the element identifier.
      IpAddress ip()
      Returns the IP address of the cluster member.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • UiClusterMember

        public UiClusterMember​(UiTopology topology,
                               ControllerNode cnode)
        Constructs a UI cluster member, with a reference to the parent topology instance and the specified controller node instance.
        Parameters:
        topology - parent topology containing this cluster member
        cnode - underlying controller node
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • idAsString

        public java.lang.String idAsString()
        Description copied from class: UiElement
        Returns a string representation of the element identifier.
        Specified by:
        idAsString in class UiElement
        Returns:
        the element unique identifier
      • backingNode

        public ControllerNode backingNode()
        Returns the controller node instance backing this UI cluster member.
        Returns:
        the backing controller node instance
      • id

        public NodeId id()
        Returns the identity of the cluster member.
        Returns:
        member identifier
      • ip

        public IpAddress ip()
        Returns the IP address of the cluster member.
        Returns:
        the IP address