public interface TerminalInterface extends TerminalSession
TerminalSession
client, discon, error, failed, idle, server, start, txnTimedOut
Modifier and Type | Method and Description |
---|---|
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.
|
changePassword, connect, connect, disconnect, getPassword, getScreen, getState, getTermid, getUserid, queryATI, send, send, setATI, setPassword, setUserid, verifyPassword
void setGateway(JavaGateway jgate) throws java.io.IOException, EPIException
jgate
- a JavaGateway objectjava.io.IOException
- if an error occursEPIException
- 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 occursEPIException
- 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 transactionjava.io.IOException
- if an error occursEPIException
- 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 occursEPIException
- 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.