Open Kilda Java Documentation
org.openkilda.topo.LinkEndpoint Class Reference
Inheritance diagram for org.openkilda.topo.LinkEndpoint:
org.openkilda.topo.ITopoSlug

Public Member Functions

 LinkEndpoint (Switch topoSwitch, Port switchPort, PortQueue portQueue)
 
 LinkEndpoint (PortQueue portQueue)
 
Switch getTopoSwitch ()
 
Port getSwitchPort ()
 
PortQueue getPortQueue ()
 
String getSlug ()
 
boolean equals (Object o)
 
int hashCode ()
 

Static Public Member Functions

static void main (String[] args)
 

Detailed Description

LinkEndpoint captures the key elements of a link endpoint

Definition at line 23 of file LinkEndpoint.java.

Constructor & Destructor Documentation

◆ LinkEndpoint() [1/2]

org.openkilda.topo.LinkEndpoint.LinkEndpoint ( Switch  topoSwitch,
Port  switchPort,
PortQueue  portQueue 
)
Parameters
topoSwitchAt least a valid switch is needed.
switchPortcan be null; id will be 0.
portQueuecan be null; id will be 0.

Definition at line 38 of file LinkEndpoint.java.

◆ LinkEndpoint() [2/2]

org.openkilda.topo.LinkEndpoint.LinkEndpoint ( PortQueue  portQueue)

Definition at line 45 of file LinkEndpoint.java.

Member Function Documentation

◆ equals()

boolean org.openkilda.topo.LinkEndpoint.equals ( Object  o)

Definition at line 74 of file LinkEndpoint.java.

◆ getPortQueue()

PortQueue org.openkilda.topo.LinkEndpoint.getPortQueue ( )

Definition at line 63 of file LinkEndpoint.java.

◆ getSlug()

String org.openkilda.topo.LinkEndpoint.getSlug ( )
Returns
the topology slug that uniquely identifies this entity

Implements org.openkilda.topo.ITopoSlug.

Definition at line 67 of file LinkEndpoint.java.

◆ getSwitchPort()

Port org.openkilda.topo.LinkEndpoint.getSwitchPort ( )

Definition at line 59 of file LinkEndpoint.java.

◆ getTopoSwitch()

Switch org.openkilda.topo.LinkEndpoint.getTopoSwitch ( )

Definition at line 55 of file LinkEndpoint.java.

◆ hashCode()

int org.openkilda.topo.LinkEndpoint.hashCode ( )

Definition at line 88 of file LinkEndpoint.java.

◆ main()

static void org.openkilda.topo.LinkEndpoint.main ( String []  args)
static

Definition at line 95 of file LinkEndpoint.java.


The documentation for this class was generated from the following file: