Class MessageTimestampImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.oddsentities.MessageTimestampImpl
- All Implemented Interfaces:
MessageTimestamp
-
Constructor Summary
ConstructorsConstructorDescriptionMessageTimestampImpl(long timestamp) MessageTimestampImpl(long created, long sent, long received, long dispatched) -
Method Summary
Modifier and TypeMethodDescriptionlongGets the value specifying when the message was generated and put in queue on rabbit server (milliseconds since EPOCH UTC)longGets the value specifying when the message was dispatched to the user from the sdk (milliseconds since EPOCH UTC)longGets the value specifying when the message was received for processing by the sdk (milliseconds since EPOCH UTC)longgetSent()Gets the value specifying when the message was sent from the rabbit server (milliseconds since EPOCH UTC)
-
Constructor Details
-
MessageTimestampImpl
public MessageTimestampImpl(long created, long sent, long received, long dispatched) -
MessageTimestampImpl
public MessageTimestampImpl(long timestamp)
-
-
Method Details
-
getCreated
public long getCreated()Gets the value specifying when the message was generated and put in queue on rabbit server (milliseconds since EPOCH UTC)- Specified by:
getCreatedin interfaceMessageTimestamp- Returns:
- the value specifying when the message was generated
-
getSent
public long getSent()Gets the value specifying when the message was sent from the rabbit server (milliseconds since EPOCH UTC)- Specified by:
getSentin interfaceMessageTimestamp- Returns:
- the value specifying when the message was sent from the rabbit server
-
getReceived
public long getReceived()Gets the value specifying when the message was received for processing by the sdk (milliseconds since EPOCH UTC)- Specified by:
getReceivedin interfaceMessageTimestamp- Returns:
- the value specifying when the message was received for processing by the sdk
-
getDispatched
public long getDispatched()Gets the value specifying when the message was dispatched to the user from the sdk (milliseconds since EPOCH UTC)- Specified by:
getDispatchedin interfaceMessageTimestamp- Returns:
- the value specifying when the message was dispatched to the user from the sdk
-