public class SslCompletionHandler
extends io.netty.channel.ChannelDuplexHandler
SslHandler
to provide a single Observable
for SSL process completion via
sslCompletionStatus()
.Constructor and Description |
---|
SslCompletionHandler(io.netty.util.concurrent.Future<io.netty.channel.Channel> sslHandshakeFuture) |
Modifier and Type | Method and Description |
---|---|
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Throwable cause) |
rx.Observable<java.lang.Void> |
sslCompletionStatus() |
bind, close, connect, deregister, disconnect, flush, read, write
channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
handlerAdded, handlerRemoved, isSharable
public SslCompletionHandler(io.netty.util.concurrent.Future<io.netty.channel.Channel> sslHandshakeFuture)
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, java.lang.Throwable cause) throws java.lang.Exception
exceptionCaught
in interface io.netty.channel.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.channel.ChannelInboundHandlerAdapter
java.lang.Exception
public rx.Observable<java.lang.Void> sslCompletionStatus()