Class TdbPooledSession

All Implemented Interfaces:
com.tietoenator.trip.jxp.internal.utils.DOMSink
Direct Known Subclasses:
TdbTripNetPooledSession, TdbWebPooledSession

public class TdbPooledSession extends TdbSession
Contains a session within a session pool
  • Method Details

    • login

      public void login(String username, String password) throws TdbException
      Invalid operation for a pooled session
      Overrides:
      login in class TdbSession
      Parameters:
      username - The TRIP username to use
      password - The TRIP password to use
      Throws:
      TdbException
    • login

      public void login(String username, String password, TdbLanguage language, boolean restart) throws TdbException
      Invalid operation for a pooled session
      Overrides:
      login in class TdbSession
      Parameters:
      username - The TRIP username to use
      password - The TRIP password to use (this gets encrypted for transmission)
      language - The CCL language dialect to use
      restart - If set high, signal TRIP to attempt to restart from a previous session
      Throws:
      TdbException
    • logout

      public void logout() throws TdbException
      Returns the session to the pool for reuse
      Overrides:
      logout in class TdbSession
      Throws:
      TdbException
    • logout

      public void logout(boolean save) throws TdbException
      Returns the session to the pool for reuse
      Overrides:
      logout in class TdbSession
      Parameters:
      save - This parameter is ignored for pooled sessions
      Throws:
      TdbException