Class MessageTimestampImpl

java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.oddsentities.MessageTimestampImpl
All Implemented Interfaces:
MessageTimestamp

public class MessageTimestampImpl extends Object implements MessageTimestamp
  • Constructor Summary

    Constructors
    Constructor
    Description
    MessageTimestampImpl(long timestamp)
     
    MessageTimestampImpl(long created, long sent, long received, long dispatched)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Gets the value specifying when the message was generated and put in queue on rabbit server (milliseconds since EPOCH UTC)
    long
    Gets the value specifying when the message was dispatched to the user from the sdk (milliseconds since EPOCH UTC)
    long
    Gets the value specifying when the message was received for processing by the sdk (milliseconds since EPOCH UTC)
    long
    Gets the value specifying when the message was sent from the rabbit server (milliseconds since EPOCH UTC)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      getCreated in interface MessageTimestamp
      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:
      getSent in interface MessageTimestamp
      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:
      getReceived in interface MessageTimestamp
      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:
      getDispatched in interface MessageTimestamp
      Returns:
      the value specifying when the message was dispatched to the user from the sdk