Defines the payload payload of a Message representing a path node info.
Definition at line 33 of file PathNode.java.
◆ PathNode() [1/5]
org.openkilda.messaging.info.event.PathNode.PathNode |
( |
| ) |
|
◆ PathNode() [2/5]
org.openkilda.messaging.info.event.PathNode.PathNode |
( |
PathNode |
that | ) |
|
◆ PathNode() [3/5]
org.openkilda.messaging.info.event.PathNode.PathNode |
( |
final SwitchId |
switchId, |
|
|
final int |
portNo, |
|
|
final int |
seqId |
|
) |
| |
Instance creator without segment latency value.
- Parameters
-
switchId | switch id |
portNo | port number |
seqId | sequence id |
Definition at line 96 of file PathNode.java.
◆ PathNode() [4/5]
org.openkilda.messaging.info.event.PathNode.PathNode |
( |
final SwitchId |
switchId, |
|
|
final int |
portNo, |
|
|
final int |
seqId, |
|
|
final Long |
segmentLatency |
|
) |
| |
◆ PathNode() [5/5]
org.openkilda.messaging.info.event.PathNode.PathNode |
( |
@JsonProperty("switch_id") final SwitchId |
switchId, |
|
|
@JsonProperty("port_no") final int |
portNo, |
|
|
@JsonProperty("seq_id") final int |
seqId, |
|
|
@JsonProperty("cookie") final Long |
cookie, |
|
|
@JsonProperty("segment_latency") final Long |
segmentLatency |
|
) |
| |
Instance creator.
- Parameters
-
switchId | switch id |
portNo | port number |
seqId | sequence id |
segmentLatency | segment latency |
Definition at line 119 of file PathNode.java.
◆ equals()
boolean org.openkilda.messaging.info.event.PathNode.equals |
( |
Object |
object | ) |
|
◆ getCookie()
Long org.openkilda.messaging.info.event.PathNode.getCookie |
( |
| ) |
|
◆ getPortNo()
int org.openkilda.messaging.info.event.PathNode.getPortNo |
( |
| ) |
|
Returns port number.
- Returns
- port number
Definition at line 157 of file PathNode.java.
◆ getSegLatency()
Long org.openkilda.messaging.info.event.PathNode.getSegLatency |
( |
| ) |
|
Returns segment latency.
- Returns
- segment latency
Definition at line 197 of file PathNode.java.
◆ getSeqId()
int org.openkilda.messaging.info.event.PathNode.getSeqId |
( |
| ) |
|
Returns sequence id.
- Returns
- sequence id
Definition at line 177 of file PathNode.java.
◆ getSwitchId()
SwitchId org.openkilda.messaging.info.event.PathNode.getSwitchId |
( |
| ) |
|
Returns switch id.
- Returns
- switch id
Definition at line 137 of file PathNode.java.
◆ hashCode()
int org.openkilda.messaging.info.event.PathNode.hashCode |
( |
| ) |
|
◆ setCookie()
void org.openkilda.messaging.info.event.PathNode.setCookie |
( |
Long |
cookie | ) |
|
◆ setPortNo()
void org.openkilda.messaging.info.event.PathNode.setPortNo |
( |
final int |
portNo | ) |
|
◆ setSegLatency()
void org.openkilda.messaging.info.event.PathNode.setSegLatency |
( |
final long |
latency | ) |
|
Sets segment latency.
- Parameters
-
latency | segment latency to set |
Definition at line 207 of file PathNode.java.
◆ setSeqId()
void org.openkilda.messaging.info.event.PathNode.setSeqId |
( |
final int |
seqId | ) |
|
◆ setSwitchId()
void org.openkilda.messaging.info.event.PathNode.setSwitchId |
( |
final SwitchId |
switchId | ) |
|
◆ toString()
String org.openkilda.messaging.info.event.PathNode.toString |
( |
| ) |
|
The documentation for this class was generated from the following file:
- /Users/kevin/Desktop/Kilda/open-kilda-develop/services/src/messaging/src/main/java/org/openkilda/messaging/info/event/PathNode.java