|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.ssh.SshConfiguration
public class SshConfiguration
Constructor Summary | |
---|---|
SshConfiguration()
Default constructor. |
|
SshConfiguration(TransportConfiguration transportConfig)
Initialize SshConfiguration with a configured instance of TransportConfiguration. |
Method Summary | |
---|---|
ConnectionClient |
createConnectionClient(ConnectionParameters parameters,
User user)
Creates a new client instance. |
Logger |
createLogger()
Creates a new logger. |
AuthenticationRequest |
getAuthenticationRequest()
|
ConnectionConfiguration |
getConnectionConfiguration()
Returns the current connection configuration. |
Logger.Level |
getLoggerLevel()
Returns the current SSH stack logger level. |
java.io.PrintStream |
getLoggerStream()
Returns the current SSH stack logger stream. |
TransportConfiguration |
getTransportConfiguration()
Returns the current transport configuration. |
void |
setAuthenticationRequest(AuthenticationRequest authenticationRequest)
|
void |
setConnectionConfiguration(ConnectionConfiguration connectConfig)
Setups the current connection configuration. |
void |
setLoggerLevel(Logger.Level loggerLevel)
Setups the SSH stack logger level. |
void |
setLoggerStream(java.io.PrintStream loggerStream)
Setups the SSH stack logger stream. |
void |
setTransportConfiguration(TransportConfiguration transportConfig)
Setups the current transport configuration. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SshConfiguration()
public SshConfiguration(TransportConfiguration transportConfig)
transportConfig
- Method Detail |
---|
public Logger.Level getLoggerLevel()
public void setLoggerLevel(Logger.Level loggerLevel)
loggerLevel
- the logger levelpublic java.io.PrintStream getLoggerStream()
public void setLoggerStream(java.io.PrintStream loggerStream)
loggerStream
- the logger streampublic Logger createLogger()
public TransportConfiguration getTransportConfiguration()
public void setTransportConfiguration(TransportConfiguration transportConfig)
transportConfig
- the current transport configurationpublic ConnectionConfiguration getConnectionConfiguration()
public void setConnectionConfiguration(ConnectionConfiguration connectConfig)
connectConfig
- the current connection configurationpublic AuthenticationRequest getAuthenticationRequest()
public void setAuthenticationRequest(AuthenticationRequest authenticationRequest)
public ConnectionClient createConnectionClient(ConnectionParameters parameters, User user) throws java.io.IOException
parameters
- the connection parametersuser
- the user parameters
java.io.IOException
- if an I/O error occurs
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |