CICS® Transaction Gateway Programming Reference v1.1.0.0

com.ibm.connector2.cics
Class EPIConnectionSpec

java.lang.Object
  extended by com.ibm.connector2.cics.CICSConnectionSpec
      extended by com.ibm.connector2.cics.EPIConnectionSpec
All Implemented Interfaces:
CICSLogTraceLevels, javax.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:
CICSConnectionSpec

Field Summary
 
Fields inherited from interface com.ibm.connector2.cics.CICSLogTraceLevels
RAS_TRACE_ENTRY_EXIT, RAS_TRACE_ERROR_EXCEPTION, RAS_TRACE_INTERNAL, RAS_TRACE_OFF
 
Constructor Summary
EPIConnectionSpec()
          Default constructor.
 
Method Summary
 java.lang.String getDeviceType()
          Return the device type for this object.
 java.lang.String getNetName()
          Return the net name for this object.
 void setDeviceType(java.lang.String newDev)
          Set the device type required.
 void setNetName(java.lang.String newNet)
          Set the net name required.
 java.lang.String toString()
          Returns a string representation of this instance, in this case it lists the contents of the properties.
 
Methods inherited from class com.ibm.connector2.cics.CICSConnectionSpec
addPropertyChangeListener, firePropertyChange, getPassword, getUserName, removePropertyChangeListener, setPassword, setUserName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EPIConnectionSpec

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

deviceType is null
netName is null

Method Detail

setDeviceType

public void setDeviceType(java.lang.String newDev)
Set the device type required.

Parameters:
newDev - The device type defined on the CICS server.

getDeviceType

public java.lang.String getDeviceType()
Return the device type for this object.

Returns:
The device type.

setNetName

public void setNetName(java.lang.String newNet)
Set the net name required.

Parameters:
newNet - The net name.

getNetName

public java.lang.String getNetName()
Return the net name for this object.

Returns:
The net name.

toString

public java.lang.String toString()
Returns a string representation of this instance, in this case it lists the contents of the properties.

Overrides:
toString in class java.lang.Object
Returns:
String The string representation of this instance.

©Copyright IBM Corp. 1994, 2014
Legal