|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.commons.ssh.ConnectionFactory
net.sf.commons.ssh.ganymed.GanymedConnectionFactory
public class GanymedConnectionFactory
| Field Summary |
|---|
| Fields inherited from class net.sf.commons.ssh.ConnectionFactory |
|---|
log |
| Constructor Summary | |
|---|---|
GanymedConnectionFactory()
Creates new instance of GanymedConnectionFactory |
|
| 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 GanymedConnectionFactory()
throws java.lang.Exception
GanymedConnectionFactory
java.lang.Exception - if unable to create instance| Method Detail |
|---|
protected java.util.Set getSupportedFeaturesImpl()
ConnectionFactorySet of String — the set of supported features
codes.
getSupportedFeaturesImpl in class ConnectionFactorySet 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 ConnectionFactoryhost - 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 | |||||||||