|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.cics.server.API
com.ibm.cics.server.Terminal
public class Terminal
This Class provides the Java interface to a CICS Terminal.
Constructor Summary | |
---|---|
Terminal(java.lang.String name)
Constructor |
|
Terminal(java.lang.String name,
java.lang.String NETNAME)
Constructor |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Terminal(java.lang.String name) throws java.lang.NullPointerException, InvalidTerminalIdException
name
- the name of the terminal
java.lang.NullPointerException
- if the name is null
InvalidTerminalIdException
- 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 terminal
java.lang.NullPointerException
- if the name is null
InvalidTerminalIdException
- if the name is invalidMethod Detail |
---|
public Cursor getCursor()
Cursor
associated with the terminal.
public java.lang.String getName()
public java.lang.String getUser() throws InvalidRequestException
InvalidRequestException
- an INVREQ condition occurred
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |