Class TdbTripNetConnectionPool


  • public class TdbTripNetConnectionPool
    extends TdbConnectionPool
    Connection pool for TRIPnet sessions
    • Constructor Detail

      • TdbTripNetConnectionPool

        public TdbTripNetConnectionPool​(java.lang.String server,
                                        int port,
                                        java.lang.String username,
                                        java.lang.String password,
                                        TdbLanguage lang,
                                        int stepping)
                                 throws TdbException
        Constructor -- setup the session pool with minimal TRIPnet parameters
        Parameters:
        server - The name or IP address of the TRIPnet server
        port - The port number on which the TRIPserver is running
        username - The name of the user that every session in this pool will adopt
        password - The password of the user that every session in this pool will adopt
        lang - CCL dialect to use within the pool
        stepping - The stepping of the pool, i.e. how many sessions will be created at a time
        Throws:
        TdbException
      • TdbTripNetConnectionPool

        public TdbTripNetConnectionPool​(java.lang.String server,
                                        int port,
                                        java.lang.String inifile,
                                        int timeout,
                                        java.lang.String username,
                                        java.lang.String password,
                                        TdbLanguage lang,
                                        int stepping)
                                 throws TdbException
        Constructor -- setup the session pool with full TRIPnet parameters
        Parameters:
        server - The name or IP address of the TRIPnet server
        port - The port number on which the TRIPserver is running
        inifile - The name of a host initialization file run for each session
        timeout - The timeout (in ms) for each session
        username - The name of the user that every session in this pool will adopt
        password - The password of the user that every session in this pool will adopt
        lang - CCL dialect to use within the pool
        stepping - The stepping of the pool, i.e. how many sessions will be created at a time
        Throws:
        TdbException