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, wait
Methods inherited from interface org.apache.sshd.common.kex.extension.KexExtensionParser
parseExtension, parseExtension, parseExtension
-
Field Details
-
name
-
-
Constructor Details
-
AbstractKexExtensionParser
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceNamedResource
- Returns:
- The resource name
-
putExtension
Description copied from interface:KexExtensionParser
Adds the name + value to the buffer- Specified by:
putExtension
in interfaceKexExtensionParser<T>
- Parameters:
value
- The value of the extensionbuffer
- The targetBuffer
- Throws:
IOException
- If failed to encode
-
encode
- Throws:
IOException
-