Package org.drasyl.channel
Class ConnectionHandshakeChannelInitializer
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelInitializer<DrasylChannel>
org.drasyl.channel.ConnectionHandshakeChannelInitializer
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
- Direct Known Subclasses:
DrasylNodeChannelInitializer
@Deprecated
public abstract class ConnectionHandshakeChannelInitializer
extends io.netty.channel.ChannelInitializer<DrasylChannel>
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ConnectionHandshakeChannelInitializer
(boolean initiateHandshake) Deprecated.protected
ConnectionHandshakeChannelInitializer
(Duration handshakeTimeout, boolean initiateHandshake) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
Deprecated.protected abstract void
handshakeFailed
(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) Deprecated.protected void
Deprecated.Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggered
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharable
-
Field Details
-
DEFAULT_HANDSHAKE_TIMEOUT
Deprecated. -
handshakeTimeout
Deprecated. -
initiateHandshake
protected final boolean initiateHandshakeDeprecated.
-
-
Constructor Details
-
ConnectionHandshakeChannelInitializer
protected ConnectionHandshakeChannelInitializer(Duration handshakeTimeout, boolean initiateHandshake) Deprecated. -
ConnectionHandshakeChannelInitializer
protected ConnectionHandshakeChannelInitializer(boolean initiateHandshake) Deprecated.
-
-
Method Details
-
initChannel
Deprecated.- Specified by:
initChannel
in classio.netty.channel.ChannelInitializer<DrasylChannel>
- Throws:
Exception
-
handshakeCompleted
Deprecated.- Throws:
Exception
-
handshakeFailed
protected abstract void handshakeFailed(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) Deprecated.
-