public interface FactoryManager
NamedFactory used
in the SSH protocol.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_NIO_WORKERS
Default number of worker threads to use.
|
static java.lang.String |
MAX_PACKET_SIZE
Key used to retrieve the value of the maximum packet size
in the configuration properties map.
|
static java.lang.String |
NIO_WORKERS
Number of NIO worker threads to use.
|
static java.lang.String |
WINDOW_SIZE
Key used to retrieve the value of the window size in the
configuration properties map.
|
| Modifier and Type | Method and Description |
|---|---|
SshAgentFactory |
getAgentFactory()
Retrieve the agent factory for creating
SshAgent objects. |
java.util.List<NamedFactory<Channel>> |
getChannelFactories()
Retrieve the list of named factories for
Channel objects. |
java.util.List<NamedFactory<Cipher>> |
getCipherFactories()
Retrieve the list of named factories for
Cipher. |
java.util.List<NamedFactory<Compression>> |
getCompressionFactories()
Retrieve the list of named factories for
Compression. |
FileSystemFactory |
getFileSystemFactory()
Retrieve the
FileSystemFactory to be used to traverse the file system. |
java.util.List<RequestHandler<ConnectionService>> |
getGlobalRequestHandlers()
Retrieve the list of global request handlers.
|
IoServiceFactory |
getIoServiceFactory() |
java.util.List<NamedFactory<KeyExchange>> |
getKeyExchangeFactories()
Retrieve the list of named factories for
KeyExchange. |
KeyPairProvider |
getKeyPairProvider()
Retrieve the
KeyPairProvider that will be used to find
the host key to use on the server side or the user key on the client side. |
java.util.List<NamedFactory<Mac>> |
getMacFactories()
Retrieve the list of named factories for
Mac. |
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
A map of properties that can be used to configure the SSH server
or client.
|
Factory<Random> |
getRandomFactory()
Retrieve the
Random factory to be used. |
java.util.concurrent.ScheduledExecutorService |
getScheduledExecutorService()
Retrieve the
ScheduledExecutorService to be used. |
java.util.List<ServiceFactory> |
getServiceFactories()
Retrieve the list of SSH
Service factories. |
java.util.List<NamedFactory<Signature>> |
getSignatureFactories()
Retrieve the list of named factories for
Signature. |
TcpipForwarderFactory |
getTcpipForwarderFactory()
Retrieve the tcpip forwarder factory used to support tcpip forwarding.
|
ForwardingFilter |
getTcpipForwardingFilter()
Retrieve the
ForwardingFilter to be used by the SSH server. |
java.lang.String |
getVersion()
An upper case string identifying the version of the
software used on client or server side.
|
static final java.lang.String WINDOW_SIZE
static final java.lang.String MAX_PACKET_SIZE
static final java.lang.String NIO_WORKERS
static final int DEFAULT_NIO_WORKERS
java.util.Map<java.lang.String,java.lang.String> getProperties()
Map containing configuration values, never nulljava.lang.String getVersion()
SSHD-1.0IoServiceFactory getIoServiceFactory()
java.util.List<NamedFactory<KeyExchange>> getKeyExchangeFactories()
KeyExchange.KeyExchange factories, never nulljava.util.List<NamedFactory<Cipher>> getCipherFactories()
Cipher.Cipher factories, never nulljava.util.List<NamedFactory<Compression>> getCompressionFactories()
Compression.Compression factories, never nulljava.util.List<NamedFactory<Mac>> getMacFactories()
Mac.Mac factories, never nulljava.util.List<NamedFactory<Signature>> getSignatureFactories()
Signature.Signature factories, never nullKeyPairProvider getKeyPairProvider()
KeyPairProvider that will be used to find
the host key to use on the server side or the user key on the client side.KeyPairProvider, never nullFactory<Random> getRandomFactory()
Random factory to be used.Random factory, never nulljava.util.List<NamedFactory<Channel>> getChannelFactories()
Channel objects.Channel factories, never nullSshAgentFactory getAgentFactory()
SshAgent objects.java.util.concurrent.ScheduledExecutorService getScheduledExecutorService()
ScheduledExecutorService to be used.ScheduledExecutorService, never nullForwardingFilter getTcpipForwardingFilter()
ForwardingFilter to be used by the SSH server.
If no filter has been configured (i.e. this method returns
null), then all forwarding requests will be rejected.ForwardingFilter or nullTcpipForwarderFactory getTcpipForwarderFactory()
TcpipForwarderFactoryFileSystemFactory getFileSystemFactory()
FileSystemFactory to be used to traverse the file system.FileSystemFactory object or null if file based
interactions are not supported on this serverjava.util.List<ServiceFactory> getServiceFactories()
Service factories.Service factories, never nulljava.util.List<RequestHandler<ConnectionService>> getGlobalRequestHandlers()
GlobalRequestHandlerCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.