Class Elevation
- java.lang.Object
-
- org.apache.sshd.common.kex.extension.parser.AbstractKexExtensionParser<String>
-
- org.apache.sshd.common.kex.extension.parser.Elevation
-
- All Implemented Interfaces:
KexExtensionParser<String>,NamedResource
public class Elevation extends AbstractKexExtensionParser<String>
- Author:
- Apache MINA SSHD Project
- See Also:
- RFC-8308 - section 3.4
-
-
Field Summary
Fields Modifier and Type Field Description static ElevationINSTANCEstatic StringNAME-
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 voidencode(String value, Buffer buffer)StringparseExtension(byte[] data, int off, int len)StringparseExtension(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 String NAME
- See Also:
- Constant Field Values
-
INSTANCE
public static final Elevation INSTANCE
-
-
Method Detail
-
parseExtension
public String parseExtension(byte[] data, int off, int len) throws IOException
- Throws:
IOException
-
parseExtension
public String parseExtension(Buffer buffer) throws IOException
- Throws:
IOException
-
encode
protected void encode(String value, Buffer buffer) throws IOException
- Specified by:
encodein classAbstractKexExtensionParser<String>- Throws:
IOException
-
-