UM Java API  6.16.1
com.latencybusters.lbm.LBMSourceEventTimestampInfo Class Reference

Public Member Functions

 LBMSourceEventTimestampInfo ()
 
 LBMSourceEventTimestampInfo (long tv_sec, long tv_nsec, long sequenceNumber)
 
LBMTimespec hrTimestamp ()
 
long sequenceNumber ()
 

Detailed Description

LBM Source Event Timestamp Info class. Contains the high-resolution timestamp and sequence number of the sent message.

Since
UMS 6.9

Constructor & Destructor Documentation

com.latencybusters.lbm.LBMSourceEventTimestampInfo.LBMSourceEventTimestampInfo ( )

Creates an LBMSourceEventTimestampInfo object with all fields initialized to 0.

Since
UMS 6.9
com.latencybusters.lbm.LBMSourceEventTimestampInfo.LBMSourceEventTimestampInfo ( long  tv_sec,
long  tv_nsec,
long  sequenceNumber 
)

Creates an LBMSourceEventTimestampInfo with fields initialized to the given values.

Parameters
tv_secHigh-resolution timestamp, seconds.
tv_nsecHigh-resolution timestamp, nanoseconds.
sequenceNumberSequence number.
Since
UMS 6.9

References com.latencybusters.lbm.LBMSourceEventTimestampInfo.sequenceNumber().

Member Function Documentation

LBMTimespec com.latencybusters.lbm.LBMSourceEventTimestampInfo.hrTimestamp ( )

Get the high-resolution timestamp of the sent message.

Returns
The high-resolution timestamp of the sent message.
Since
UMS 6.9
long com.latencybusters.lbm.LBMSourceEventTimestampInfo.sequenceNumber ( )

Get the sequence number associated with the sent high-resolution timestamp.

Returns
The sequence number of the sent message.
Since
UMS 6.9

Referenced by com.latencybusters.lbm.LBMSourceEventTimestampInfo.LBMSourceEventTimestampInfo().


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