Class Elevation
- java.lang.Object
-
- org.apache.sshd.common.kex.extension.parser.AbstractKexExtensionParser<java.lang.String>
-
- org.apache.sshd.common.kex.extension.parser.Elevation
-
- All Implemented Interfaces:
KexExtensionParser<java.lang.String>
,NamedResource
public class Elevation extends AbstractKexExtensionParser<java.lang.String>
- See Also:
- RFC-8308 - section 3.4
-
-
Field Summary
Fields Modifier and Type Field Description static Elevation
INSTANCE
static java.lang.String
NAME
-
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR
-
-
Constructor Summary
Constructors Constructor Description Elevation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
encode(java.lang.String value, Buffer buffer)
java.lang.String
parseExtension(byte[] data, int off, int len)
java.lang.String
parseExtension(Buffer buffer)
-
Methods inherited from class org.apache.sshd.common.kex.extension.parser.AbstractKexExtensionParser
getName, putExtension
-
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
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
INSTANCE
public static final Elevation INSTANCE
-
-
Method Detail
-
parseExtension
public java.lang.String parseExtension(byte[] data, int off, int len) throws java.io.IOException
- Throws:
java.io.IOException
-
parseExtension
public java.lang.String parseExtension(Buffer buffer) throws java.io.IOException
- Throws:
java.io.IOException
-
encode
protected void encode(java.lang.String value, Buffer buffer) throws java.io.IOException
- Specified by:
encode
in classAbstractKexExtensionParser<java.lang.String>
- Throws:
java.io.IOException
-
-