|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.net.connect.TelnetScriptingTool
public class TelnetScriptingTool
A tool that telnets to host and starts a SAS/CONNECT server, but does not link a SAS/CONNECT client to it.
Constructor Summary | |
---|---|
TelnetScriptingTool(java.util.Properties info)
constructor |
Method Summary | |
---|---|
int |
connect(java.lang.String host)
Connects to the host using the default Telnet port of 23 and starts the server. |
int |
connect(java.lang.String host,
int port)
Connects to the host and starts the server. |
void |
disconnect()
disconnect the telnet session. |
Constructor Detail |
---|
public TelnetScriptingTool(java.util.Properties info)
info
- parameters for the connectionMethod Detail |
---|
public int connect(java.lang.String host) throws java.io.IOException
host
- the host name or address of the remote machine.
java.io.IOException
- if an exception is detected.public int connect(java.lang.String host, int port) throws java.io.IOException
host
- the host name or address of the remote machine.port
- the port that the telnet daemon is listening to.
java.io.IOException
- if an exception is detected.public void disconnect() throws java.io.IOException
java.io.IOException
- if there is an error
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |