Open Kilda Java Documentation
org.openkilda.pce.model.SimpleIsl Class Reference

Public Member Functions

 SimpleIsl (SwitchId srcDpid, SwitchId dstDpid, int srcPort, int dstPort, int cost, int latency)
 
boolean identical (Object o)
 

Detailed Description

The ISL is directed and connects to a pair of EndPoints.

For equals and hashcode, only the src and dst information are used, not the properties.

Definition at line 34 of file SimpleIsl.java.

Constructor & Destructor Documentation

◆ SimpleIsl()

org.openkilda.pce.model.SimpleIsl.SimpleIsl ( SwitchId  srcDpid,
SwitchId  dstDpid,
int  srcPort,
int  dstPort,
int  cost,
int  latency 
)

Definition at line 46 of file SimpleIsl.java.

Member Function Documentation

◆ identical()

boolean org.openkilda.pce.model.SimpleIsl.identical ( Object  o)

Use this comparison if very strong equality is needed (most likely rare; probably only testing).

Returns
true if every field is the same.

Definition at line 60 of file SimpleIsl.java.


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