|
||||||||||
| 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 List<NamedFactory<Channel>> |
channelFactories
|
protected List<NamedFactory<Cipher>> |
cipherFactories
|
protected List<NamedFactory<Compression>> |
compressionFactories
|
protected List<NamedFactory<KeyExchange>> |
keyExchangeFactories
|
protected KeyPairProvider |
keyPairProvider
|
protected List<NamedFactory<Mac>> |
macFactories
|
protected Map<String,String> |
properties
|
protected Factory<Random> |
randomFactory
|
protected List<NamedFactory<Signature>> |
signatureFactories
|
protected 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 | |
|---|---|
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. |
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. |
int |
getNioWorkers()
|
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. |
List<NamedFactory<Signature>> |
getSignatureFactories()
Retrieve the list of named factories for Signature. |
String |
getVersion()
An upper case string identifying the version of the software used on client or server side. |
protected void |
loadVersion()
|
void |
setChannelFactories(List<NamedFactory<Channel>> channelFactories)
|
void |
setCipherFactories(List<NamedFactory<Cipher>> cipherFactories)
|
void |
setCompressionFactories(List<NamedFactory<Compression>> compressionFactories)
|
void |
setKeyExchangeFactories(List<NamedFactory<KeyExchange>> keyExchangeFactories)
|
void |
setKeyPairProvider(KeyPairProvider keyPairProvider)
|
void |
setMacFactories(List<NamedFactory<Mac>> macFactories)
|
void |
setNioWorkers(int nioWorkers)
|
void |
setProperties(Map<String,String> properties)
|
void |
setRandomFactory(Factory<Random> randomFactory)
|
void |
setSignatureFactories(List<NamedFactory<Signature>> signatureFactories)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Map<String,String> properties
protected List<NamedFactory<KeyExchange>> keyExchangeFactories
protected List<NamedFactory<Cipher>> cipherFactories
protected List<NamedFactory<Compression>> compressionFactories
protected List<NamedFactory<Mac>> macFactories
protected List<NamedFactory<Signature>> signatureFactories
protected Factory<Random> randomFactory
protected KeyPairProvider keyPairProvider
protected String version
protected List<NamedFactory<Channel>> channelFactories
| Constructor Detail |
|---|
protected AbstractFactoryManager()
| Method Detail |
|---|
public List<NamedFactory<KeyExchange>> getKeyExchangeFactories()
FactoryManagerKeyExchange.
getKeyExchangeFactories in interface FactoryManagerKeyExchange factories, never nullpublic void setKeyExchangeFactories(List<NamedFactory<KeyExchange>> keyExchangeFactories)
public List<NamedFactory<Cipher>> getCipherFactories()
FactoryManagerCipher.
getCipherFactories in interface FactoryManagerCipher factories, never nullpublic void setCipherFactories(List<NamedFactory<Cipher>> cipherFactories)
public List<NamedFactory<Compression>> getCompressionFactories()
FactoryManagerCompression.
getCompressionFactories in interface FactoryManagerCompression factories, never nullpublic void setCompressionFactories(List<NamedFactory<Compression>> compressionFactories)
public List<NamedFactory<Mac>> getMacFactories()
FactoryManagerMac.
getMacFactories in interface FactoryManagerMac factories, never nullpublic void setMacFactories(List<NamedFactory<Mac>> macFactories)
public List<NamedFactory<Signature>> getSignatureFactories()
FactoryManagerSignature.
getSignatureFactories in interface FactoryManagerSignature factories, never nullpublic void setSignatureFactories(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 Map<String,String> getProperties()
FactoryManager
getProperties in interface FactoryManagerMap containing configuration values, never nullpublic void setProperties(Map<String,String> properties)
public String getVersion()
FactoryManagerSSHD-1.0
getVersion in interface FactoryManagerprotected void loadVersion()
public List<NamedFactory<Channel>> getChannelFactories()
FactoryManagerChannel objects.
getChannelFactories in interface FactoryManagerChannel factories, never nullpublic void setChannelFactories(List<NamedFactory<Channel>> channelFactories)
public int getNioWorkers()
public void setNioWorkers(int nioWorkers)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||