Class EPIConnectionSpec

java.lang.Object
com.ibm.jakarta.connector2.cics.CICSConnectionSpec
com.ibm.jakarta.connector2.cics.EPIConnectionSpec
All Implemented Interfaces:
CICSLogTraceLevels, jakarta.resource.cci.ConnectionSpec

public final class EPIConnectionSpec extends CICSConnectionSpec
The EPI connection spec allows you to specify extra or different properties on the connection you require.

The properties that can be set are as follows:

userid
The username for the terminal.
password
The password for the username.
devtype
The device type of the terminal.
netName
The terminal netname.
See Also:
  • Field Details

  • Constructor Details

    • EPIConnectionSpec

      public EPIConnectionSpec()
      Default constructor. Properties need to be set by setters. Defaults are applied as follows:

      deviceType is null
      netName is null

  • Method Details

    • setDeviceType

      public void setDeviceType(String newDev)
      Set the device type required.
      Parameters:
      newDev - The device type defined on the CICS server.
    • getDeviceType

      public String getDeviceType()
      Return the device type for this object.
      Returns:
      The device type.
    • setNetName

      public void setNetName(String newNet)
      Set the net name required.
      Parameters:
      newNet - The net name.
    • getNetName

      public String getNetName()
      Return the net name for this object.
      Returns:
      The net name.
    • toString

      public String toString()
      Returns a string representation of this instance, in this case it lists the contents of the properties.
      Overrides:
      toString in class Object
      Returns:
      String The string representation of this instance.