public class Terminal extends API
This Class provides the Java interface to a CICS Terminal.
| Constructor and Description |
|---|
Terminal(java.lang.String name)
Constructor
|
Terminal(java.lang.String name,
java.lang.String NETNAME)
Constructor
|
public 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