net.i2p.router.transport.udp

## Class EstablishmentManager.Token

- java.lang.Object
- - net.i2p.router.transport.udp.EstablishmentManager.Token

- Enclosing class:
    EstablishmentManager

      public static class EstablishmentManager.Token
      extends Object

  Token used for SSU2 session establishment and validation. Contains expiration time and validation data.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Token(long tok, long exp, long now)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `getExpiration()`
    `long` | `getToken()`
    `long` | `getWhenAdded()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Token

          public Token(long tok,
                       long exp,
                       long now)

      Parameters:
        `exp` - absolute time, not relative to now

  - ### Method Detail

    - #### getExpiration

          public long getExpiration()

    - #### getToken

          public long getToken()

    - #### getWhenAdded

          public long getWhenAdded()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`