Open Kilda Java Documentation
org.openkilda.floodlight.model.flow.VerificationData Class Reference

Public Member Functions

 VerificationData (DatapathId source, DatapathId dest, UUID packetId)
 
JWTCreator.Builder toJwt (JWTCreator.Builder token)
 
VerificationMeasures produceMeasurements (long recipientLatency)
 
long getSendTime ()
 
long getRecvTime ()
 
long getSenderLatency ()
 
void setSenderLatency (long senderLatency)
 
DatapathId getSource ()
 
DatapathId getDest ()
 
UUID getPacketId ()
 
boolean equals (Object o)
 
int hashCode ()
 

Static Public Member Functions

static VerificationData of (DecodedJWT token) throws CorruptedNetworkDataException
 
static VerificationData of (UniFlowVerificationRequest verificationRequest)
 

Detailed Description

Definition at line 30 of file VerificationData.java.

Constructor & Destructor Documentation

◆ VerificationData()

org.openkilda.floodlight.model.flow.VerificationData.VerificationData ( DatapathId  source,
DatapathId  dest,
UUID  packetId 
)

Definition at line 74 of file VerificationData.java.

Member Function Documentation

◆ equals()

boolean org.openkilda.floodlight.model.flow.VerificationData.equals ( Object  o)

Definition at line 143 of file VerificationData.java.

◆ getDest()

DatapathId org.openkilda.floodlight.model.flow.VerificationData.getDest ( )

Definition at line 134 of file VerificationData.java.

◆ getPacketId()

UUID org.openkilda.floodlight.model.flow.VerificationData.getPacketId ( )

Definition at line 138 of file VerificationData.java.

◆ getRecvTime()

long org.openkilda.floodlight.model.flow.VerificationData.getRecvTime ( )

Definition at line 114 of file VerificationData.java.

◆ getSenderLatency()

long org.openkilda.floodlight.model.flow.VerificationData.getSenderLatency ( )

Definition at line 122 of file VerificationData.java.

◆ getSendTime()

long org.openkilda.floodlight.model.flow.VerificationData.getSendTime ( )

Definition at line 106 of file VerificationData.java.

◆ getSource()

DatapathId org.openkilda.floodlight.model.flow.VerificationData.getSource ( )

Definition at line 130 of file VerificationData.java.

◆ hashCode()

int org.openkilda.floodlight.model.flow.VerificationData.hashCode ( )

Definition at line 161 of file VerificationData.java.

◆ of() [1/2]

static VerificationData org.openkilda.floodlight.model.flow.VerificationData.of ( DecodedJWT  token) throws CorruptedNetworkDataException
static

Build VerificationData from DecodedJWT token.

Definition at line 44 of file VerificationData.java.

◆ of() [2/2]

static VerificationData org.openkilda.floodlight.model.flow.VerificationData.of ( UniFlowVerificationRequest  verificationRequest)
static

Build VerificationData from UniFlowVerificationRequest instance.

Definition at line 68 of file VerificationData.java.

◆ produceMeasurements()

VerificationMeasures org.openkilda.floodlight.model.flow.VerificationData.produceMeasurements ( long  recipientLatency)

Calculate flow's latency.

Definition at line 98 of file VerificationData.java.

◆ setSenderLatency()

void org.openkilda.floodlight.model.flow.VerificationData.setSenderLatency ( long  senderLatency)

Definition at line 126 of file VerificationData.java.

◆ toJwt()

JWTCreator.Builder org.openkilda.floodlight.model.flow.VerificationData.toJwt ( JWTCreator.Builder  token)

Populate data into JWT builder.

Definition at line 83 of file VerificationData.java.


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