Package org.apache.sshd.common.kex
Class AbstractKexFactoryManager
- java.lang.Object
-
- org.apache.sshd.common.util.logging.AbstractLoggingBean
-
- org.apache.sshd.common.util.closeable.IoBaseCloseable
-
- org.apache.sshd.common.util.closeable.AbstractCloseable
-
- org.apache.sshd.common.util.closeable.AbstractInnerCloseable
-
- org.apache.sshd.common.kex.AbstractKexFactoryManager
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Channel,Closeable,KexExtensionHandlerManager,KexFactoryManager,SignatureFactoriesHolder,SignatureFactoriesManager
- Direct Known Subclasses:
AbstractFactoryManager,SessionHelper
public abstract class AbstractKexFactoryManager extends AbstractInnerCloseable implements KexFactoryManager
- Author:
- Apache MINA SSHD Project
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable
AbstractCloseable.State
-
-
Field Summary
-
Fields inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable
closeFuture, futureLock, state
-
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractKexFactoryManager()protectedAbstractKexFactoryManager(KexFactoryManager delegate)
-
Method Summary
-
Methods inherited from class org.apache.sshd.common.util.closeable.AbstractInnerCloseable
doCloseGracefully, doCloseImmediately, getInnerCloseable
-
Methods inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable
addCloseFutureListener, builder, close, getFutureLock, isClosed, isClosing, preClose, removeCloseFutureListener
-
Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.sshd.common.kex.KexFactoryManager
getCipherFactoriesNameList, getCipherFactoriesNames, getCompressionFactoriesNameList, getCompressionFactoriesNames, getMacFactoriesNameList, getMacFactoriesNames, setCipherFactoriesNameList, setCipherFactoriesNames, setCipherFactoriesNames, setCompressionFactoriesNameList, setCompressionFactoriesNames, setCompressionFactoriesNames, setMacFactoriesNameList, setMacFactoriesNames, setMacFactoriesNames
-
Methods inherited from interface org.apache.sshd.common.signature.SignatureFactoriesHolder
getSignatureFactoriesNameList, getSignatureFactoriesNames
-
Methods inherited from interface org.apache.sshd.common.signature.SignatureFactoriesManager
setSignatureFactoriesNameList, setSignatureFactoriesNames, setSignatureFactoriesNames
-
-
-
-
Constructor Detail
-
AbstractKexFactoryManager
protected AbstractKexFactoryManager()
-
AbstractKexFactoryManager
protected AbstractKexFactoryManager(KexFactoryManager delegate)
-
-
Method Detail
-
getDelegate
protected KexFactoryManager getDelegate()
-
getKeyExchangeFactories
public List<KeyExchangeFactory> getKeyExchangeFactories()
Description copied from interface:KexFactoryManagerRetrieve the list of named factories forKeyExchange.- Specified by:
getKeyExchangeFactoriesin interfaceKexFactoryManager- Returns:
- a list of named
KeyExchangefactories, nevernull
-
setKeyExchangeFactories
public void setKeyExchangeFactories(List<KeyExchangeFactory> keyExchangeFactories)
- Specified by:
setKeyExchangeFactoriesin interfaceKexFactoryManager
-
getCipherFactories
public List<NamedFactory<Cipher>> getCipherFactories()
Description copied from interface:KexFactoryManagerRetrieve the list of named factories forCipher.- Specified by:
getCipherFactoriesin interfaceKexFactoryManager- Returns:
- a list of named
Cipherfactories, nevernull
-
setCipherFactories
public void setCipherFactories(List<NamedFactory<Cipher>> cipherFactories)
- Specified by:
setCipherFactoriesin interfaceKexFactoryManager
-
getCompressionFactories
public List<NamedFactory<Compression>> getCompressionFactories()
Description copied from interface:KexFactoryManagerRetrieve the list of named factories forCompression.- Specified by:
getCompressionFactoriesin interfaceKexFactoryManager- Returns:
- a list of named
Compressionfactories, nevernull
-
setCompressionFactories
public void setCompressionFactories(List<NamedFactory<Compression>> compressionFactories)
- Specified by:
setCompressionFactoriesin interfaceKexFactoryManager
-
getMacFactories
public List<NamedFactory<Mac>> getMacFactories()
Description copied from interface:KexFactoryManagerRetrieve the list of named factories forMac.- Specified by:
getMacFactoriesin interfaceKexFactoryManager- Returns:
- a list of named
Macfactories, nevernull
-
setMacFactories
public void setMacFactories(List<NamedFactory<Mac>> macFactories)
- Specified by:
setMacFactoriesin interfaceKexFactoryManager
-
getSignatureFactories
public List<NamedFactory<Signature>> getSignatureFactories()
- Specified by:
getSignatureFactoriesin interfaceSignatureFactoriesHolder
-
setSignatureFactories
public void setSignatureFactories(List<NamedFactory<Signature>> signatureFactories)
- Specified by:
setSignatureFactoriesin interfaceSignatureFactoriesManager
-
getKexExtensionHandler
public KexExtensionHandler getKexExtensionHandler()
- Specified by:
getKexExtensionHandlerin interfaceKexExtensionHandlerManager
-
setKexExtensionHandler
public void setKexExtensionHandler(KexExtensionHandler kexExtensionHandler)
- Specified by:
setKexExtensionHandlerin interfaceKexExtensionHandlerManager
-
resolveEffectiveFactories
protected <V,C extends Collection<V>> C resolveEffectiveFactories(C local, C inherited)
-
resolveEffectiveProvider
protected <V> V resolveEffectiveProvider(Class<V> providerType, V local, V inherited)
-
-