Class AbstractKexExtensionParser<T>
java.lang.Object
org.apache.sshd.common.kex.extension.parser.AbstractKexExtensionParser<T>
- Type Parameters:
T- Generic extension type
- All Implemented Interfaces:
KexExtensionParser<T>,NamedResource
- Direct Known Subclasses:
DelayCompression,Elevation,HostBoundPubkeyAuthentication,NoFlowControl,ServerSignatureAlgorithms
-
Field Summary
FieldsFields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.sshd.common.kex.extension.KexExtensionParser
parseExtension, parseExtension, parseExtension
-
Field Details
-
name
-
-
Constructor Details
-
AbstractKexExtensionParser
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceNamedResource- Returns:
- The resource name
-
putExtension
Description copied from interface:KexExtensionParserAdds the name + value to the buffer- Specified by:
putExtensionin interfaceKexExtensionParser<T>- Parameters:
value- The value of the extensionbuffer- The targetBuffer- Throws:
IOException- If failed to encode
-
encode
- Throws:
IOException
-