Package org.onosproject.ui.model.topo
Class UiClusterMember
- java.lang.Object
 - 
- org.onosproject.ui.model.topo.UiElement
 - 
- org.onosproject.ui.model.topo.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 ControllerNodebackingNode()Returns the controller node instance backing this UI cluster member.NodeIdid()Returns the identity of the cluster member.StringidAsString()Returns a string representation of the element identifier.IpAddressip()Returns the IP address of the cluster member.StringtoString() 
 - 
 
- 
- 
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 membercnode- underlying controller node
 
 - 
 
- 
Method Detail
- 
idAsString
public String idAsString()
Description copied from class:UiElementReturns a string representation of the element identifier.- Specified by:
 idAsStringin classUiElement- 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
 
 
 - 
 
 -