public abstract class DtlsHandler
extends io.netty.channel.ChannelDuplexHandler
Modifier and Type | Class and Description |
---|---|
static class |
DtlsHandler.ChannelContext |
Modifier and Type | Field and Description |
---|---|
protected org.opendaylight.usc.crypto.dtls.DtlsHandlerTransport |
rawTransport |
Constructor and Description |
---|
DtlsHandler() |
Modifier and Type | Method and Description |
---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object obj) |
protected abstract org.bouncycastle.crypto.tls.DTLSTransport |
getDtlsTransport() |
protected String |
getName() |
void |
write(io.netty.channel.ChannelHandlerContext ctx,
Object obj,
io.netty.channel.ChannelPromise promise) |
bind, close, connect, deregister, disconnect, flush, read
channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
protected final org.opendaylight.usc.crypto.dtls.DtlsHandlerTransport rawTransport
public void channelActive(io.netty.channel.ChannelHandlerContext ctx) throws Exception
channelActive
in interface io.netty.channel.ChannelInboundHandler
channelActive
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object obj) throws Exception
channelRead
in interface io.netty.channel.ChannelInboundHandler
channelRead
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public void write(io.netty.channel.ChannelHandlerContext ctx, Object obj, io.netty.channel.ChannelPromise promise) throws Exception
write
in interface io.netty.channel.ChannelOutboundHandler
write
in class io.netty.channel.ChannelDuplexHandler
Exception
protected String getName()
protected abstract org.bouncycastle.crypto.tls.DTLSTransport getDtlsTransport() throws IOException
IOException
Copyright © 2019 OpenDaylight. All rights reserved.