|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.net.connect.TunneledConnectClient
public class TunneledConnectClient
This class represents a tunneled Connect client. It extends the basic
ConnectClient
class and adds functionality to start a SAS
session using the tunnel feature.
Field Summary |
---|
Fields inherited from class com.sas.net.connect.ConnectClient |
---|
abort, clientFcb, connected, LINE_TYPE_BYLINE, LINE_TYPE_ERROR, LINE_TYPE_FOOTNOTE, LINE_TYPE_HILIGHTED, LINE_TYPE_MESSAGE, LINE_TYPE_NORMAL, LINE_TYPE_NOTE, LINE_TYPE_SOURCE, LINE_TYPE_TITLE, LINE_TYPE_WARNING |
Constructor Summary | |
---|---|
TunneledConnectClient(java.util.Properties info)
Construct a TunneledConnectClient object. |
Method Summary | |
---|---|
void |
connect(java.lang.String host)
Connects to the server using a default port of 23. |
void |
connect(java.lang.String host,
int port)
Connects to the server. |
Methods inherited from class com.sas.net.connect.ConnectClient |
---|
addEditLine, addExtension, addRecords, checkDownloadRecno, checkOptions, clearEditLines, clearListLines, clearLogLines, connect, createDownload, disconnect, drain, finalize, flush, getDownloadData, getDriverName, getEditLines, getListLineCount, getListLines, getListLines, getLogLineCount, getLogLines, getLogLines, getMajorSasVersion, getMinorSasVersion, getMver, getOptions, getRecords, getSharenet, getTextTransportFormat, isConnected, mergeOptions, rcancel, rsubmit, send, setLogException, setMver, setTextTransportFormat |
Constructor Detail |
---|
public TunneledConnectClient(java.util.Properties info) throws ConnectException
info
- A java.util.Properties object which contains the following:
ConnectException
- if the properties list is null.Method Detail |
---|
public void connect(java.lang.String host, int port) throws ConnectException
connect
in class ConnectClient
host
- The host name or address of the remote machine.port
- TCP/IP port number for the connection daemon.
ConnectException
- if an exception is detectedpublic void connect(java.lang.String host) throws ConnectException
host
- The host name or address of the remote machine.
ConnectException
- if an exception is detected.
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |