GeezerVison is showing netty.io — AbstractSniHandler (Netty API Reference (4.1.141.Final))
Class AbstractSniHandler<T>
-
-
Field Summary
Fields
Modifier and Type
Field
Description
protected final long
-
Constructor Summary
Constructors
Modifier
Constructor
Description
protected
protected
-
Method Summary
Modifier and Type
Method
Description
void
void
Do nothing by default, sub-classes may override this method.
protected void
protected abstract void
bind, close, connect, decode, deregister, disconnect, flush, handlerRemoved0, read, write
Modifier and Type
Method
Description
void
Called once a bind operation is made.
void
Called once a close operation is made.
void
Called once a connect operation is made.
protected void
Decode the from one ByteBuf to an other.
void
Called once a deregister operation is made from the current registered EventLoop.
void
Called once a disconnect operation is made.
void
Called once a flush operation is made.
protected void
Gets called after the ByteToMessageDecoder was removed from the actual context and it doesn't handle
events anymore.
void
void
Called once a write operation is made.
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
Modifier and Type
Method
Description
protected int
Returns the actual number of readable bytes in the internal cumulative
buffer of this decoder.
protected void
Called once data should be decoded from the given ByteBuf.
void
void
void
protected void
protected final void
final void
Do nothing by default, sub-classes may override this method.
Returns the internal cumulative buffer of this decoder.
boolean
void
void
void
void
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
handshakeTimeoutMillis
protected final long handshakeTimeoutMillis
-
Constructor Details
-
AbstractSniHandler
protected AbstractSniHandler(long handshakeTimeoutMillis)
- Parameters:
handshakeTimeoutMillis - the handshake timeout in milliseconds
-
AbstractSniHandler
protected AbstractSniHandler(int maxClientHelloLength,
long handshakeTimeoutMillis)
- Parameters:
maxClientHelloLength - the maximum length of the client hello message.
handshakeTimeoutMillis - the handshake timeout in milliseconds
-
AbstractSniHandler
public AbstractSniHandler()
-
Method Details
-
-
-
lookup
Kicks off a lookup for the given ClientHello and returns a Future which in turn will
notify the SslClientHelloHandler.onLookupComplete(ChannelHandlerContext, Future) on completion.
See https://tools.ietf.org/html/rfc5246#section-7.4.1.2
struct {
ProtocolVersion client_version;
Random random;
SessionID session_id;
CipherSuite cipher_suitesinvalid input: '<'2..2^16-2>;
CompressionMethod compression_methodsinvalid input: '<'1..2^8-1>;
select (extensions_present) {
case false:
struct {};
case true:
Extension extensionsinvalid input: '<'0..2^16-1>;
};
} ClientHello;
- Specified by:
lookup in class SslClientHelloHandler<T>
- Throws:
Exception
- See Also:
-
-
-
-
|