public class Terminal extends API
This Class provides the Java interface to a CICS Terminal.
com.ibm.cics.server.API for general restrictions on using the JCICS API.| Constructor and Description |
|---|
Terminal(java.lang.String name)
Constructor
|
Terminal(java.lang.String name,
java.lang.String NETNAME)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Cursor |
getCursor()
Return the
Cursor associated with the terminal. |
java.lang.String |
getName()
Return the name of the terminal.
|
java.lang.String |
getUser()
Return the name of the user currently signed on to the terminal.
|
getCICSServerApiVersionpublic Terminal(java.lang.String name)
throws java.lang.NullPointerException,
InvalidTerminalIdException
name - the name of the terminaljava.lang.NullPointerException - if the name is nullInvalidTerminalIdException - if the name is invalidpublic Terminal(java.lang.String name,
java.lang.String NETNAME)
throws java.lang.NullPointerException,
InvalidTerminalIdException
name - the name of the terminalNETNAME - the NETNAME of the terminaljava.lang.NullPointerException - if the name is nullInvalidTerminalIdException - if the name is invalidpublic Cursor getCursor()
Cursor associated with the terminal.public java.lang.String getName()
public java.lang.String getUser()
throws InvalidRequestException
InvalidRequestException - an INVREQ condition occurred