Interface TimestampValidator


  • public interface TimestampValidator
    validate Timestamp received in messages.
    Author:
    [email protected]
    • Method Detail

      • validate

        void validate​(Date created,
                      long maxClockSkew,
                      long freshnessLimit)
               throws TimeoutException
        validate given time against current time.
        Parameters:
        created - created time
        maxClockSkew - maximum difference allowed between the system clocks of the sender and recipient.
        freshnessLimit - maximum duration of time after which the Timestamp becomes stale
        Throws:
        TimeoutException