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
ModifierConstructorDescriptionprotected
protected
AbstractKexFactoryManager
(KexFactoryManager delegate) -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the list of named factories forCipher
.Retrieve the list of named factories forCompression
.protected KexFactoryManager
Retrieve the list of named factories forKeyExchange
.Retrieve the list of named factories forMac
.protected <V,
C extends Collection<V>>
CresolveEffectiveFactories
(C local, C inherited) protected <V> V
resolveEffectiveProvider
(Class<V> providerType, V local, V inherited) void
setCipherFactories
(List<NamedFactory<Cipher>> cipherFactories) void
setCompressionFactories
(List<NamedFactory<Compression>> compressionFactories) void
setKexExtensionHandler
(KexExtensionHandler kexExtensionHandler) void
setKeyExchangeFactories
(List<KeyExchangeFactory> keyExchangeFactories) void
setMacFactories
(List<NamedFactory<Mac>> macFactories) void
setSignatureFactories
(List<NamedFactory<Signature>> signatureFactories) 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 Details
-
AbstractKexFactoryManager
protected AbstractKexFactoryManager() -
AbstractKexFactoryManager
-
-
Method Details
-
getDelegate
-
getKeyExchangeFactories
Description copied from interface:KexFactoryManager
Retrieve the list of named factories forKeyExchange
.- Specified by:
getKeyExchangeFactories
in interfaceKexFactoryManager
- Returns:
- a list of named
KeyExchange
factories, nevernull
-
setKeyExchangeFactories
- Specified by:
setKeyExchangeFactories
in interfaceKexFactoryManager
-
getCipherFactories
Description copied from interface:KexFactoryManager
Retrieve the list of named factories forCipher
.- Specified by:
getCipherFactories
in interfaceKexFactoryManager
- Returns:
- a list of named
Cipher
factories, nevernull
-
setCipherFactories
- Specified by:
setCipherFactories
in interfaceKexFactoryManager
-
getCompressionFactories
Description copied from interface:KexFactoryManager
Retrieve the list of named factories forCompression
.- Specified by:
getCompressionFactories
in interfaceKexFactoryManager
- Returns:
- a list of named
Compression
factories, nevernull
-
setCompressionFactories
- Specified by:
setCompressionFactories
in interfaceKexFactoryManager
-
getMacFactories
Description copied from interface:KexFactoryManager
Retrieve the list of named factories forMac
.- Specified by:
getMacFactories
in interfaceKexFactoryManager
- Returns:
- a list of named
Mac
factories, nevernull
-
setMacFactories
- Specified by:
setMacFactories
in interfaceKexFactoryManager
-
getSignatureFactories
- Specified by:
getSignatureFactories
in interfaceSignatureFactoriesHolder
-
setSignatureFactories
- Specified by:
setSignatureFactories
in interfaceSignatureFactoriesManager
-
getKexExtensionHandler
- Specified by:
getKexExtensionHandler
in interfaceKexExtensionHandlerManager
-
setKexExtensionHandler
- Specified by:
setKexExtensionHandler
in interfaceKexExtensionHandlerManager
-
resolveEffectiveFactories
-
resolveEffectiveProvider
-