public abstract class HealthCheckDecoder
extends io.netty.handler.codec.ByteToMessageDecoder
Constructor and Description |
---|
HealthCheckDecoder() |
Modifier and Type | Method and Description |
---|---|
protected abstract FutureOperation<?,?,?> |
buildOperation() |
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
protected void |
decode(io.netty.channel.ChannelHandlerContext chc,
io.netty.buffer.ByteBuf in,
List<Object> list) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
io.netty.util.concurrent.DefaultPromise<RiakMessage> |
getPromise() |
void |
handlerAdded(io.netty.channel.ChannelHandlerContext ctx) |
actualReadableBytes, callDecode, channelRead, channelReadComplete, decodeLast, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setSingleDecode
protected abstract FutureOperation<?,?,?> buildOperation()
protected void decode(io.netty.channel.ChannelHandlerContext chc, io.netty.buffer.ByteBuf in, List<Object> list) throws Exception
decode
in class io.netty.handler.codec.ByteToMessageDecoder
Exception
public void handlerAdded(io.netty.channel.ChannelHandlerContext ctx) throws Exception
handlerAdded
in interface io.netty.channel.ChannelHandler
handlerAdded
in class io.netty.channel.ChannelHandlerAdapter
Exception
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 channelInactive(io.netty.channel.ChannelHandlerContext ctx) throws Exception
channelInactive
in interface io.netty.channel.ChannelInboundHandler
channelInactive
in class io.netty.handler.codec.ByteToMessageDecoder
Exception
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception
exceptionCaught
in interface io.netty.channel.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public io.netty.util.concurrent.DefaultPromise<RiakMessage> getPromise() throws InterruptedException
InterruptedException
Copyright © 2014. All rights reserved.