|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.commons.ssh.ConnectionFactory net.sf.commons.ssh.sshd.SshdConnectionFactory
public class SshdConnectionFactory
Field Summary |
---|
Fields inherited from class net.sf.commons.ssh.ConnectionFactory |
---|
log |
Constructor Summary | |
---|---|
SshdConnectionFactory()
Creates new instance of SshdConnectionFactory |
Method Summary | |
---|---|
protected java.util.Set |
getSupportedFeaturesImpl()
Creates Set of String — the set of supported features
codes. |
Connection |
openConnection(java.lang.String host,
int port,
AuthenticationOptions authOptions)
Creates new SSH connection using the specified connection settings |
Methods inherited from class net.sf.commons.ssh.ConnectionFactory |
---|
getKexTimeout, getPort, getSoTimeout, getSupportedFeatures, isFeatureSupported, isSendIgnore, newInstance, openConnection, setKexTimeout, setPort, setSendIgnore, setSoTimeout |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SshdConnectionFactory()
SshdConnectionFactory
Method Detail |
---|
protected java.util.Set getSupportedFeaturesImpl()
ConnectionFactory
Set
of String
— the set of supported features
codes.
getSupportedFeaturesImpl
in class ConnectionFactory
Set
of String
— the set of supported features
codes.ConnectionFactory.isFeatureSupported(String)
,
Features
public Connection openConnection(java.lang.String host, int port, AuthenticationOptions authOptions) throws java.io.IOException
ConnectionFactory
openConnection
in class ConnectionFactory
host
- host to connectport
- port to connectauthOptions
- Authentication Options (should be supported by connection
factory)
java.io.IOException
- if I/O exception occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |