|
CICS® Transaction Gateway Programming Reference V3.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the behaviour of a terminal which is in session, ie: has an associated Session object. TerminalInterface extends this with functions that allow the Session object to be changed.
Field Summary | |
static int |
client
server expecting reply |
static int |
discon
terminal disconnected |
static int |
error
an error has occured |
static int |
idle
terminal idle |
static int |
server
terminal waiting for server |
static int |
start
terminal starting |
Method Summary | |
void |
connect()
Connects the terminal to the server. |
void |
disconnect()
Disconnects the terminal from the server. |
Screen |
getScreen()
Returns the screen associated with the terminal. |
int |
getState()
Returns the state of the terminal. |
boolean |
queryATI()
Returns a boolean indicating whether the terminal ATI state is enabled or disabled. |
void |
send()
Sends the current screen to the server using the current Session. |
void |
send(java.lang.String transid,
java.lang.String data)
Starts a transaction on the server using the current Session. |
void |
setATI(boolean on)
Sets the terminal ATI state to be enabled or disabled. |
Field Detail |
public static final int start
public static final int idle
public static final int client
public static final int server
public static final int discon
public static final int error
Method Detail |
public void connect() throws java.io.IOException, EPIException
public void send(java.lang.String transid, java.lang.String data) throws java.io.IOException, EPIException
transid
- the transaction to startdata
- the data to pass to the transactionpublic void send() throws java.io.IOException, EPIException
idle
or the screen is already set up to start the
next transaction.public void disconnect() throws java.io.IOException, EPIException
public boolean queryATI() throws java.io.IOException, EPIException
public void setATI(boolean on) throws java.io.IOException, EPIException
on
- true to set ATI enabled, false otherwisepublic Screen getScreen()
public int getState()
|
© Copyright IBM Corp. 1994, 1999 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |