| Modifier and Type | Field and Description |
|---|---|
protected ICodePage |
codePage |
protected Screen5250 |
screen52 |
| Constructor and Description |
|---|
tnvt(Session5250 session,
Screen5250 screen52,
boolean type,
boolean support132) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelInvite()
Cancel Invite - taken from the rfc1205 - 5250 Telnet interface section
4.3
See notes inside method
|
boolean |
connect() |
boolean |
connect(String s,
int port) |
boolean |
disconnect() |
protected boolean[] |
getActiveAidKeys() |
String |
getAllocatedDeviceName() |
ICodePage |
getCodePage() |
String |
getDeviceName() |
String |
getHostName() |
protected int |
getOpCode() |
void |
hostPrint(int aid) |
boolean |
isConnected() |
boolean |
isScanningEnabled()
Checks whether command scanning is enabled.
|
boolean |
isSslSocket() |
protected boolean |
negotiate(byte[] abyte0) |
void |
restoreScreen() |
void |
run() |
void |
saveScreen() |
boolean |
sendAidKey(int aid) |
void |
sendAttentionKey()
Attention Key -
See notes inside method
|
void |
sendHeartBeat() |
void |
sendHelpRequest()
Help request -
See notes inside method
|
protected void |
sendNegResponse(int cat,
int modifier,
int uByte1,
int uByte2,
String from)
This routine handles sending negative responses back to the host.
|
void |
sendNegResponse2(int ec) |
void |
setCodePage(String cp) |
void |
setDeviceName(String name) |
void |
setProxy(String proxyHost,
String proxyPort) |
void |
setScanningEnabled(boolean scan)
Activate or deactivate the command scanning behaviour.
|
void |
setSSLType(String type) |
void |
signalBell() |
void |
systemRequest()
Opens a dialog and asks the user before sending a request
|
void |
systemRequest(char sr) |
void |
systemRequest(String sr)
System request, taken from the rfc1205, 5250 Telnet interface section 4.3
|
void |
toggleDebug() |
boolean |
waitingForInput() |
protected Screen5250 screen52
protected ICodePage codePage
public tnvt(Session5250 session, Screen5250 screen52, boolean type, boolean support132)
session - 5250 session objectscreen52 - 5250 screen objecttype - flagsupport132 - flagpublic String getHostName()
public void setSSLType(String type)
public void setDeviceName(String name)
public String getDeviceName()
public String getAllocatedDeviceName()
public boolean isConnected()
public boolean isSslSocket()
public final boolean connect()
public final boolean connect(String s, int port)
public final boolean disconnect()
public final void sendHeartBeat()
throws IOException
IOExceptionpublic final boolean sendAidKey(int aid)
public final void sendHelpRequest()
public final void sendAttentionKey()
public final void systemRequest()
public final void systemRequest(char sr)
sr - - system request optionpublic final void systemRequest(String sr)
sr - system request option (allowed to be null, but than nothing happens)public final void cancelInvite()
public final void hostPrint(int aid)
public final void toggleDebug()
protected final int getOpCode()
protected boolean[] getActiveAidKeys()
public void setScanningEnabled(boolean scan)
scan - if true, scanning is enabled; disabled otherwise.scan()public boolean isScanningEnabled()
public final void saveScreen()
throws IOException
IOExceptionpublic final void restoreScreen()
throws IOException
IOException - io exceptionpublic final boolean waitingForInput()
protected void sendNegResponse(int cat,
int modifier,
int uByte1,
int uByte2,
String from)
cat - numbermodifier - numberuByte1 - numberuByte2 - numberfrom - a stringpublic void sendNegResponse2(int ec)
protected final boolean negotiate(byte[] abyte0)
throws IOException
IOExceptionpublic final void setCodePage(String cp)
public final ICodePage getCodePage()
public void signalBell()
Session5250.signalBell()Copyright © 2018. All rights reserved.