Class TdbTripNetSession

All Implemented Interfaces:
com.tietoenator.trip.jxp.internal.utils.DOMSink

public class TdbTripNetSession extends TdbSession
Constructs a session connection via TRIPnet to a remote TRIPserver
  • Constructor Details

    • TdbTripNetSession

      public TdbTripNetSession(String server, int port) throws TdbException
      Constructor
      Parameters:
      server - Server name (or IP address) to connect to
      port - Port# on the server
      Throws:
      TdbException
    • TdbTripNetSession

      public TdbTripNetSession(String server, int port, boolean encrypt) throws TdbException
      Constructor
      Parameters:
      server - Server name (or IP address) to connect to
      port - Port# on the server
      encrypt - True to encrypt this session (requires TRIPsystem 7.0 or later)
      Throws:
      TdbException
    • TdbTripNetSession

      public TdbTripNetSession(String server, int port, String inifile, int timeout) throws TdbException
      Constructor
      Parameters:
      server - Server name (or IP address) to connect to
      port - Port# on the server
      inifile - Host initialization file to execute (or null if not required)
      timeout - Timeout in milliseconds
      Throws:
      TdbException
    • TdbTripNetSession

      public TdbTripNetSession(String server, int port, String inifile, int timeout, boolean encrypt) throws TdbException
      Constructor
      Parameters:
      server - Server name (or IP address) to connect to
      port - Port# on the server
      inifile - Host initialization file to execute (or null if not required)
      timeout - Timeout in milliseconds
      encrypt - True to encrypt this session (requires TRIPsystem 7.0 or later)
      Throws:
      TdbException
  • Method Details

    • getServerName

      public String getServerName()
      The name of the TRIP server that the session is connected to.
      Overrides:
      getServerName in class TdbSession