Open Kilda Java Documentation
org.openkilda.messaging.info.event.PathNode Class Reference
Inheritance diagram for org.openkilda.messaging.info.event.PathNode:

Public Member Functions

 PathNode ()
 
 PathNode (PathNode that)
 
 PathNode (final SwitchId switchId, final int portNo, final int seqId)
 
 PathNode (final SwitchId switchId, final int portNo, final int seqId, final Long segmentLatency)
 
 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)
 
SwitchId getSwitchId ()
 
void setSwitchId (final SwitchId switchId)
 
int getPortNo ()
 
void setPortNo (final int portNo)
 
int getSeqId ()
 
void setSeqId (final int seqId)
 
Long getSegLatency ()
 
void setSegLatency (final long latency)
 
Long getCookie ()
 
void setCookie (Long cookie)
 
String toString ()
 
int hashCode ()
 
boolean equals (Object object)
 

Detailed Description

Defines the payload payload of a Message representing a path node info.

Definition at line 33 of file PathNode.java.

Constructor & Destructor Documentation

◆ PathNode() [1/5]

org.openkilda.messaging.info.event.PathNode.PathNode ( )

Default constructor.

Definition at line 73 of file PathNode.java.

◆ PathNode() [2/5]

org.openkilda.messaging.info.event.PathNode.PathNode ( PathNode  that)

Copy constructor.

Parameters
thatPathNode instance

Definition at line 81 of file PathNode.java.

◆ 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
switchIdswitch id
portNoport number
seqIdsequence 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 
)

Definition at line 102 of file PathNode.java.

◆ 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
switchIdswitch id
portNoport number
seqIdsequence id
segmentLatencysegment latency

Definition at line 119 of file PathNode.java.

Member Function Documentation

◆ equals()

boolean org.openkilda.messaging.info.event.PathNode.equals ( Object  object)

Definition at line 247 of file PathNode.java.

◆ getCookie()

Long org.openkilda.messaging.info.event.PathNode.getCookie ( )

Definition at line 213 of file PathNode.java.

◆ 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 ( )

Definition at line 239 of file PathNode.java.

◆ setCookie()

void org.openkilda.messaging.info.event.PathNode.setCookie ( Long  cookie)

Definition at line 218 of file PathNode.java.

◆ setPortNo()

void org.openkilda.messaging.info.event.PathNode.setPortNo ( final int  portNo)

Sets port number.

Parameters
portNoport number to set

Definition at line 167 of file PathNode.java.

◆ setSegLatency()

void org.openkilda.messaging.info.event.PathNode.setSegLatency ( final long  latency)

Sets segment latency.

Parameters
latencysegment latency to set

Definition at line 207 of file PathNode.java.

◆ setSeqId()

void org.openkilda.messaging.info.event.PathNode.setSeqId ( final int  seqId)

Sets sequence id.

Parameters
seqIdsequence id to set

Definition at line 187 of file PathNode.java.

◆ setSwitchId()

void org.openkilda.messaging.info.event.PathNode.setSwitchId ( final SwitchId  switchId)

Sets switch id.

Parameters
switchIdswitch id to set

Definition at line 147 of file PathNode.java.

◆ toString()

String org.openkilda.messaging.info.event.PathNode.toString ( )

Definition at line 226 of file PathNode.java.


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