public class Telnet3270PlayBack extends Object implements Runnable, TelnetHost
| Modifier and Type | Field and Description |
|---|---|
protected String |
originator
The string for the log.
|
| Constructor and Description |
|---|
Telnet3270PlayBack()
Creates the Telnet 3270 playback session for a 3270/5250 terminal.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the current connection.
|
void |
enableNewEnviron(int codepage,
String kbdType)
Enables the Telnet NEW-ENVIRON TN5250E negotiation.
|
void |
enablePrinterSupport()
Enables printer emulation support.
|
String |
getDeviceName()
Gets the device name of the session.
|
void |
initialize(TelnetInterface i,
String terminalList)
Creates the Telnet session for a 3270/5250 terminal type list.
|
boolean |
isSecured()
Checks if the communication is secured with e.g.
|
void |
open(String host,
int port)
Opens the connection to the host at a specified port number.
|
void |
run()
The thread is running here.
|
boolean |
sendSpecialKey(int param)
Sends TN3270E special key (param=0 is Attention and param=1 is SysReq).
|
void |
sendSSCPLUData(short[] data,
int length)
Sends SSCP LU data for a TN3270E session.
|
void |
setAssociatePrinterWithTerminal(String terminalName)
Sets associate printer for a printer session.
|
void |
write(short[] buf,
int n)
Writes an amount of bytes.
|
protected String originator
public Telnet3270PlayBack()
public void enableNewEnviron(int codepage,
String kbdType)
enableNewEnviron in interface TelnetHostpublic void initialize(TelnetInterface i, String terminalList) throws IOException
initialize in interface TelnetHostIOException - if an I/O error occurs.public void close()
close in interface TelnetHostpublic void open(String host, int port) throws IOException
open in interface TelnetHostIOException - if an I/O error occurs.public void write(short[] buf,
int n)
throws IOException
write in interface TelnetHostIOException - if an I/O error occurs.public String getDeviceName()
getDeviceName in interface TelnetHostpublic void enablePrinterSupport()
public void setAssociatePrinterWithTerminal(String terminalName)
setAssociatePrinterWithTerminal in interface TelnetHostpublic boolean sendSpecialKey(int param)
throws IOException
sendSpecialKey in interface TelnetHostIOException - if an I/O error occurs.public void sendSSCPLUData(short[] data,
int length)
throws IOException
sendSSCPLUData in interface TelnetHostIOException - if an I/O error occurs.public boolean isSecured()
isSecured in interface TelnetHostPhantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.