Top Fields Constructors Methods
org.apache.sshd.common.kex.extension.parser

public abstract Class AbstractKexExtensionParser<T>

extends Object
implements KexExtensionParser<T>
Class Inheritance
All Implemented Interfaces
org.apache.sshd.common.kex.extension.KexExtensionParser, org.apache.sshd.common.NamedResource
Known Direct Subclasses
org.apache.sshd.common.kex.extension.parser.DelayCompression, org.apache.sshd.common.kex.extension.parser.Elevation, org.apache.sshd.common.kex.extension.parser.HostBoundPubkeyAuthentication, org.apache.sshd.common.kex.extension.parser.NoFlowControl, org.apache.sshd.common.kex.extension.parser.ServerSignatureAlgorithms
Type Parameters
<T>
Generic extension type
Imports
java.io.IOException, org.apache.sshd.common.kex.extension.KexExtensionParser, org.apache.sshd.common.util.ValidateUtils, org.apache.sshd.common.util.buffer.Buffer

Author
Apache MINA SSHD Project

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected abstract void
encode(T value, Buffer buffer)

public String
public void
putExtension(T
The value of the extension
value
,
Buffer
The target Buffer
buffer
)

Implements org.apache.sshd.common.kex.extension.KexExtensionParser.putExtension.

Adds the name + value to the buffer

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nameback to summary
private final String name

Constructor Detail

AbstractKexExtensionParserback to summary
protected AbstractKexExtensionParser(String name)

Method Detail

encodeback to summary
protected abstract void encode(T value, Buffer buffer) throws IOException
getNameback to summary
public String getName()

Implements org.apache.sshd.common.NamedResource.getName.

Returns:String

Doc from org.apache.sshd.common.NamedResource.getName.

The resource name

Annotations
@Override
putExtensionback to summary
public void putExtension(T value, Buffer buffer) throws IOException

Implements org.apache.sshd.common.kex.extension.KexExtensionParser.putExtension.

Doc from org.apache.sshd.common.kex.extension.KexExtensionParser.putExtension.

Adds the name + value to the buffer

Parameters
value:T

The value of the extension

buffer:Buffer

The target Buffer

Annotations
@Override
Exceptions
IOException:
If failed to encode