Class TdbPooledSession

    • Method Detail

      • login

        public void login​(java.lang.String username,
                          java.lang.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​(java.lang.String username,
                          java.lang.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​(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