|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.sshd.common.AbstractFactoryManager
public abstract class AbstractFactoryManager
TODO Add javadoc
| Field Summary | |
|---|---|
protected SshAgentFactory |
agentFactory
|
protected java.util.List<NamedFactory<Channel>> |
channelFactories
|
protected java.util.List<NamedFactory<Cipher>> |
cipherFactories
|
protected java.util.List<NamedFactory<Compression>> |
compressionFactories
|
protected java.util.concurrent.ScheduledExecutorService |
executor
|
protected java.util.List<NamedFactory<KeyExchange>> |
keyExchangeFactories
|
protected KeyPairProvider |
keyPairProvider
|
protected java.util.List<NamedFactory<Mac>> |
macFactories
|
protected java.util.Map<java.lang.String,java.lang.String> |
properties
|
protected Factory<Random> |
randomFactory
|
protected boolean |
shutdownExecutor
|
protected java.util.List<NamedFactory<Signature>> |
signatureFactories
|
protected ForwardingAcceptorFactory |
tcpipForwardingAcceptorFactory
|
protected java.lang.String |
version
|
| Fields inherited from interface org.apache.sshd.common.FactoryManager |
|---|
DEFAULT_NIO_WORKERS, MAX_PACKET_SIZE, NIO_WORKERS, WINDOW_SIZE |
| Constructor Summary | |
|---|---|
protected |
AbstractFactoryManager()
|
| Method Summary | |
|---|---|
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. |
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. |
int |
getNioWorkers()
|
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<NamedFactory<Signature>> |
getSignatureFactories()
Retrieve the list of named factories for Signature. |
ForwardingAcceptorFactory |
getTcpipForwardingAcceptorFactory()
Retrieve the IoAcceptor factory to be used to accept incoming connections to port forwards. |
java.lang.String |
getVersion()
An upper case string identifying the version of the software used on client or server side. |
protected void |
loadVersion()
|
void |
setAgentFactory(SshAgentFactory agentFactory)
|
void |
setChannelFactories(java.util.List<NamedFactory<Channel>> channelFactories)
|
void |
setCipherFactories(java.util.List<NamedFactory<Cipher>> cipherFactories)
|
void |
setCompressionFactories(java.util.List<NamedFactory<Compression>> compressionFactories)
|
void |
setKeyExchangeFactories(java.util.List<NamedFactory<KeyExchange>> keyExchangeFactories)
|
void |
setKeyPairProvider(KeyPairProvider keyPairProvider)
|
void |
setMacFactories(java.util.List<NamedFactory<Mac>> macFactories)
|
void |
setNioWorkers(int nioWorkers)
|
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
|
void |
setRandomFactory(Factory<Random> randomFactory)
|
void |
setScheduledExecutorService(java.util.concurrent.ScheduledExecutorService executor)
|
void |
setScheduledExecutorService(java.util.concurrent.ScheduledExecutorService executor,
boolean shutdownExecutor)
|
void |
setSignatureFactories(java.util.List<NamedFactory<Signature>> signatureFactories)
|
void |
setTcpipForwardNioSocketAcceptorFactory(ForwardingAcceptorFactory f)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Map<java.lang.String,java.lang.String> properties
protected java.util.List<NamedFactory<KeyExchange>> keyExchangeFactories
protected java.util.List<NamedFactory<Cipher>> cipherFactories
protected java.util.List<NamedFactory<Compression>> compressionFactories
protected java.util.List<NamedFactory<Mac>> macFactories
protected java.util.List<NamedFactory<Signature>> signatureFactories
protected Factory<Random> randomFactory
protected KeyPairProvider keyPairProvider
protected java.lang.String version
protected java.util.List<NamedFactory<Channel>> channelFactories
protected SshAgentFactory agentFactory
protected java.util.concurrent.ScheduledExecutorService executor
protected boolean shutdownExecutor
protected ForwardingAcceptorFactory tcpipForwardingAcceptorFactory
| Constructor Detail |
|---|
protected AbstractFactoryManager()
| Method Detail |
|---|
public java.util.List<NamedFactory<KeyExchange>> getKeyExchangeFactories()
FactoryManagerKeyExchange.
getKeyExchangeFactories in interface FactoryManagerKeyExchange factories, never nullpublic void setKeyExchangeFactories(java.util.List<NamedFactory<KeyExchange>> keyExchangeFactories)
public java.util.List<NamedFactory<Cipher>> getCipherFactories()
FactoryManagerCipher.
getCipherFactories in interface FactoryManagerCipher factories, never nullpublic void setCipherFactories(java.util.List<NamedFactory<Cipher>> cipherFactories)
public java.util.List<NamedFactory<Compression>> getCompressionFactories()
FactoryManagerCompression.
getCompressionFactories in interface FactoryManagerCompression factories, never nullpublic void setCompressionFactories(java.util.List<NamedFactory<Compression>> compressionFactories)
public java.util.List<NamedFactory<Mac>> getMacFactories()
FactoryManagerMac.
getMacFactories in interface FactoryManagerMac factories, never nullpublic void setMacFactories(java.util.List<NamedFactory<Mac>> macFactories)
public java.util.List<NamedFactory<Signature>> getSignatureFactories()
FactoryManagerSignature.
getSignatureFactories in interface FactoryManagerSignature factories, never nullpublic void setSignatureFactories(java.util.List<NamedFactory<Signature>> signatureFactories)
public Factory<Random> getRandomFactory()
FactoryManagerRandom factory to be used.
getRandomFactory in interface FactoryManagerRandom factory, never nullpublic void setRandomFactory(Factory<Random> randomFactory)
public KeyPairProvider getKeyPairProvider()
FactoryManagerKeyPairProvider that will be used to find
the host key to use on the server side or the user key on the client side.
getKeyPairProvider in interface FactoryManagerKeyPairProvider, never nullpublic void setKeyPairProvider(KeyPairProvider keyPairProvider)
public java.util.Map<java.lang.String,java.lang.String> getProperties()
FactoryManager
getProperties in interface FactoryManagerMap containing configuration values, never nullpublic void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
public java.lang.String getVersion()
FactoryManagerSSHD-1.0
getVersion in interface FactoryManagerprotected void loadVersion()
public java.util.List<NamedFactory<Channel>> getChannelFactories()
FactoryManagerChannel objects.
getChannelFactories in interface FactoryManagerChannel factories, never nullpublic void setChannelFactories(java.util.List<NamedFactory<Channel>> channelFactories)
public int getNioWorkers()
public void setNioWorkers(int nioWorkers)
public SshAgentFactory getAgentFactory()
FactoryManagerSshAgent objects.
getAgentFactory in interface FactoryManagerpublic void setAgentFactory(SshAgentFactory agentFactory)
public java.util.concurrent.ScheduledExecutorService getScheduledExecutorService()
FactoryManagerScheduledExecutorService to be used.
getScheduledExecutorService in interface FactoryManagerScheduledExecutorService, never nullpublic void setScheduledExecutorService(java.util.concurrent.ScheduledExecutorService executor)
public void setScheduledExecutorService(java.util.concurrent.ScheduledExecutorService executor,
boolean shutdownExecutor)
public ForwardingAcceptorFactory getTcpipForwardingAcceptorFactory()
FactoryManager
getTcpipForwardingAcceptorFactory in interface FactoryManagerForwardNioAcceptorFactorypublic void setTcpipForwardNioSocketAcceptorFactory(ForwardingAcceptorFactory f)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||