public class UascServerHelloHandler extends io.netty.handler.codec.ByteToMessageDecoder implements HeaderDecoder
| Modifier and Type | Field and Description |
|---|---|
static AtomicLong |
CUMULATIVE_DEADLINES_MISSED
Cumulative count of all connection rejections for the lifetime of the server.
|
COMPOSITE_CUMULATOR, MERGE_CUMULATORHEADER_LENGTH, HEADER_LENGTH_INDEX, PROTOCOL_VERSION| Constructor and Description |
|---|
UascServerHelloHandler(UaStackServer stackServer,
TransportProfile transportProfile) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf buffer,
List<Object> out) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredchannelRegistered, channelUnregistered, channelWritabilityChangedensureNotSharable, handlerAdded, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMessageLengthpublic static final AtomicLong CUMULATIVE_DEADLINES_MISSED
public UascServerHelloHandler(UaStackServer stackServer, TransportProfile transportProfile)
public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelActive in interface io.netty.channel.ChannelInboundHandlerchannelActive in class io.netty.channel.ChannelInboundHandlerAdapterExceptionprotected void decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf buffer,
List<Object> out)
throws Exception
decode in class io.netty.handler.codec.ByteToMessageDecoderExceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterExceptionCopyright © 2021. All rights reserved.