|
CICS® Transaction Gateway Programming Reference v1.1.0.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TerminalInterface
This interface defines the behaviour of a terminal. It is implemented by the Terminal class. It extends the TerminalSession interface.
TerminalSession
Field Summary |
---|
Fields inherited from interface com.ibm.ctg.epi.TerminalSession |
---|
client, discon, error, failed, idle, server, start, txnTimedOut |
Method Summary | |
---|---|
void |
connect(Session session,
int installTimeout)
Connects an Extended terminal to the server, within a given timeout. |
void |
send(Session session)
Sends the current screen to the server. |
void |
send(Session session,
java.lang.String transid,
java.lang.String data)
Sends the current screen to the server. |
void |
setGateway(JavaGateway jgate)
Sets the JavaGateway that this terminal should use to connect to the server. |
void |
setSession(Session session)
Sets the Session associated with this terminal. |
Methods inherited from interface com.ibm.ctg.epi.TerminalSession |
---|
changePassword, connect, connect, disconnect, getPassword, getScreen, getState, getTermid, getUserid, queryATI, send, send, setATI, setPassword, setUserid, verifyPassword |
Method Detail |
---|
void setGateway(JavaGateway jgate) throws java.io.IOException, EPIException
jgate
- a JavaGateway object
java.io.IOException
- if an error occurs
EPIException
- if an error occursvoid connect(Session session, int installTimeout) throws java.io.IOException, EPIException
session
- the Session that will handle responses from the server.installTimeout
- Terminal Install timeout (0-3600 secs, 0 = infinite)
java.io.IOException
- if an error occurs
EPIException
- if an error occursvoid send(Session session, java.lang.String transid, java.lang.String data) throws java.io.IOException, EPIException
idle
state.
session
- the Session that will handle responses from the server.
If this is null, no Session is used and calls are handled synchronously.transid
- the transaction to startdata
- the data to pass to the transaction
java.io.IOException
- if an error occurs
EPIException
- if an error occursvoid send(Session session) throws java.io.IOException, EPIException
idle
or the screen is already set up to start the
next transaction.
session
- the Session that will handle responses from the server.
If this is null, no Session is used and calls are handled synchronously.
java.io.IOException
- if an error occurs
EPIException
- if an error occursvoid setSession(Session session)
session
- the Session that will handle responses from the server.
If this is null, no Session is used and calls are handled synchronously.
|
©Copyright IBM Corp. 1994, 2014 Legal |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |