|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.adapter.ResourceConnection
com.waveset.adapter.ScriptedConnection.ScriptedConnection
com.waveset.adapter.ScriptedConnection.SSHConnection
Implementation of ScriptedConnection supporting a ssh connection to a resource.
Field Summary | |
static java.lang.String |
code_id
|
protected static java.lang.String |
TYPE_NAME
The type name, used by the ScriptedConnectionFactory. |
Fields inherited from class com.waveset.adapter.ScriptedConnection.ScriptedConnection |
_err, _host, _in, _out, _password, _port, _term, _type, _user, HOST, MAX_WAIT_MILLISECONDS, PASSWORD, PORT, READ_BUFFER_SIZE, READ_CHECK_FREQUENCY, TERM, TYPE, USER |
Fields inherited from class com.waveset.adapter.ResourceConnection |
_args, _connected, _pooled, _timeIdled, _trace |
Constructor Summary | |
SSHConnection()
Constructor with no arguments. |
|
SSHConnection(java.util.HashMap args)
Constructor takes arguments. |
|
SSHConnection(java.util.HashMap args,
boolean pooled)
|
Method Summary | |
void |
connect()
Connects to the SSH server on the resource. |
void |
disconnect()
Disconnect from the SSH server. |
void |
disConnect()
Says goodbye and disconnects from the resource. |
static java.lang.String |
getType()
Returns the type name of the ScriptedConnection. |
boolean |
selfAuthenticates()
Returns an indication of whether the connection will authenticate itself. |
void |
testConnection(java.util.HashMap args)
|
Methods inherited from class com.waveset.adapter.ScriptedConnection.ScriptedConnection |
argsEqual, flushInputStream, getHost, getPort, isLoggedIn, runScript, saneFrequency, setArgs, setDecoder, setEncoder, setLineTermination, setLoggedIn |
Methods inherited from class com.waveset.adapter.ResourceConnection |
getArgsType, getTimeIdled, isConnected, isPooled, setConnected, setPooled, setTimeIdled |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String code_id
protected static final java.lang.String TYPE_NAME
Constructor Detail |
public SSHConnection() throws WavesetException
public SSHConnection(java.util.HashMap args) throws WavesetException
public SSHConnection(java.util.HashMap args, boolean pooled) throws WavesetException
Method Detail |
public static java.lang.String getType()
public boolean selfAuthenticates()
selfAuthenticates
in class ScriptedConnection
public void connect() throws WavesetException
connect
in class ResourceConnection
WavesetException
public void disconnect() throws WavesetException
disconnect
in class ResourceConnection
WavesetException
public void disConnect() throws WavesetException
ScriptedConnection
disConnect
in class ScriptedConnection
WavesetException
public void testConnection(java.util.HashMap args) throws WavesetException
testConnection
in class ResourceConnection
WavesetException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |