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 String |
MAX_PACKET_SIZE
Key used to retrieve the value of the maximum packet size
in the configuration properties map.
|
static String |
NIO_WORKERS
Number of NIO worker threads to use.
|
static 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. |
List<NamedFactory<Channel>> |
getChannelFactories()
Retrieve the list of named factories for
Channel objects. |
List<NamedFactory<Cipher>> |
getCipherFactories()
Retrieve the list of named factories for
Cipher . |
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. |
List<RequestHandler<ConnectionService>> |
getGlobalRequestHandlers()
Retrieve the list of global request handlers.
|
IoServiceFactory |
getIoServiceFactory() |
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. |
List<NamedFactory<Mac>> |
getMacFactories()
Retrieve the list of named factories for
Mac . |
Map<String,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. |
ScheduledExecutorService |
getScheduledExecutorService()
Retrieve the
ScheduledExecutorService to be used. |
List<ServiceFactory> |
getServiceFactories()
Retrieve the list of SSH
Service factories. |
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. |
String |
getVersion()
An upper case string identifying the version of the
software used on client or server side.
|
static final String WINDOW_SIZE
static final String MAX_PACKET_SIZE
static final String NIO_WORKERS
static final int DEFAULT_NIO_WORKERS
Map<String,String> getProperties()
Map
containing configuration values, never null
String getVersion()
SSHD-1.0
IoServiceFactory getIoServiceFactory()
List<NamedFactory<KeyExchange>> getKeyExchangeFactories()
KeyExchange
.KeyExchange
factories, never null
List<NamedFactory<Cipher>> getCipherFactories()
Cipher
.Cipher
factories, never null
List<NamedFactory<Compression>> getCompressionFactories()
Compression
.Compression
factories, never null
List<NamedFactory<Mac>> getMacFactories()
Mac
.Mac
factories, never null
List<NamedFactory<Signature>> getSignatureFactories()
Signature
.Signature
factories, never null
KeyPairProvider 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 null
Factory<Random> getRandomFactory()
Random
factory to be used.Random
factory, never null
List<NamedFactory<Channel>> getChannelFactories()
Channel
objects.Channel
factories, never null
SshAgentFactory getAgentFactory()
SshAgent
objects.ScheduledExecutorService getScheduledExecutorService()
ScheduledExecutorService
to be used.ScheduledExecutorService
, never null
ForwardingFilter 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 null
TcpipForwarderFactory getTcpipForwarderFactory()
TcpipForwarderFactory
FileSystemFactory getFileSystemFactory()
FileSystemFactory
to be used to traverse the file system.FileSystemFactory
object or null
if file based
interactions are not supported on this serverList<ServiceFactory> getServiceFactories()
Service
factories.Service
factories, never null
List<RequestHandler<ConnectionService>> getGlobalRequestHandlers()
GlobalRequestHandler
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.