|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.connector2.cics.ECIInteractionSpec
An ECIInteractionSpec is used to define the details of an interaction with CICS.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Constructor Summary | |
---|---|
ECIInteractionSpec()
Default Constructor. |
|
ECIInteractionSpec(int verb,
java.lang.String prog)
Simple constructor. |
|
ECIInteractionSpec(int verb,
java.lang.String prog,
int timeout,
int commLen,
int repLen)
Complete constructor allows specification of all properties. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Add a listener to those that are informed when a bound property is changed. |
int |
getCommareaLength()
Accessor for commareaLength. |
int |
getExecuteTimeout()
Accessor for executeTimeout. |
java.lang.String |
getFunctionName()
Accessor for FunctionName. |
int |
getInteractionVerb()
Accessor for InteractionVerb. |
int |
getReplyLength()
Accessor for replyLength. |
java.lang.String |
getTPNName()
Allows access to the TPN mirror transaction Name that all CICS request will run under. |
java.lang.String |
getTranName()
Allows access to the mirror transaction Name that all CICS requests will run under. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Remove a registered listener from the list. |
void |
setCommareaLength(int length)
Sets the Commarea Length. |
void |
setExecuteTimeout(int time)
Sets the Execute Time-out. |
void |
setFunctionName(java.lang.String name)
Sets the Function Name. |
void |
setInteractionVerb(int verb)
Sets the Interaction Verb. |
void |
setReplyLength(int length)
Sets the Reply Length. |
void |
setTPNName(java.lang.String name)
Sets the TPN Transaction Name that all CICS requests will run under. |
void |
setTranName(java.lang.String name)
Sets the Transaction Name that all CICS requests will run under. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String CLASS_VERSION
Constructor Detail |
public ECIInteractionSpec(int verb, java.lang.String prog, int timeout, int commLen, int repLen) throws ResourceException
verb
- The InteractionVerb to useprog
- The name of the CICS Program to calltimeout
- The interaction timeout value in secondscommLen
- The length of the COMMAREA being passed to CICSrepLen
- The length of reply wanted from CICSpublic ECIInteractionSpec(int verb, java.lang.String prog) throws ResourceException
verb
- The InteractionVerb to useprog
- The name of the CICS Program to callpublic ECIInteractionSpec()
Method Detail |
public java.lang.String toString()
public int getInteractionVerb()
public java.lang.String getFunctionName()
public int getExecuteTimeout()
public int getCommareaLength()
public int getReplyLength()
public java.lang.String getTranName()
public java.lang.String getTPNName()
public void setInteractionVerb(int verb) throws ResourceException
verb
- The new Interaction Verb to use.
ResourceException
public void setFunctionName(java.lang.String name)
name
- The new program name to run.public void setExecuteTimeout(int time) throws ResourceException
time
- The new Execute Time-out value.
ResourceException
public void setCommareaLength(int length)
length
- The new Commarea Length value.public void setReplyLength(int length)
length
- The new Reply Length value.public void setTranName(java.lang.String name)
name
- The new Transid to use.public void setTPNName(java.lang.String name)
Sets the TPN Transaction Name that all CICS requests will run under.
Note: This takes precedence over TranName so if both are specified TPNName will be used.
name
- The new Transid to use.public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |