Interface EPPPooledSession

All Known Implementing Classes:
EPPPooledGenericHttpSession, EPPPooledGenericQuicSession, EPPPooledGenericSession

public interface EPPPooledSession
Interface implemented by object's managed by the EPPSessionPoolableFactory or derived class. The created time is used to determine if the session has exceeded the absolute session timeout and the last touched time is used to determine if a keep alive message needs to be sent to keep the session active.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Gets the absolute timeout in milliseconds for the session.
    long
    Gets the time the pooled object was created.
    long
    Gets the last time the pooled object was touched.
    Send the EPP hello in the underlying EPPSession.
    void
    Set the last touched to the current time.
  • Method Details

    • getCreatedTime

      long getCreatedTime()
      Gets the time the pooled object was created.
      Returns:
      Epoch time of creation
    • getLastTouched

      long getLastTouched()
      Gets the last time the pooled object was touched.
      Returns:
      Epoch time of touch
    • touch

      void touch()
      Set the last touched to the current time.
    • getAbsoluteTimeout

      long getAbsoluteTimeout()
      Gets the absolute timeout in milliseconds for the session.
      Returns:
      Absolute timeout in milliseconds for the session.
    • hello

      Send the EPP hello in the underlying EPPSession.
      Returns:
      EPPGreeting instance from the server
      Throws:
      EPPCommandException - Error sending the EPP hello