public class KeepAliveFrameCodec extends Object
Modifier and Type | Field and Description |
---|---|
static int |
FLAGS_KEEPALIVE_R
(R)espond: Set by the sender of the KEEPALIVE, to which the responder MUST reply with a
KEEPALIVE without the R flag set
|
static long |
LAST_POSITION_MASK |
Modifier and Type | Method and Description |
---|---|
static ByteBuf |
data(ByteBuf byteBuf) |
static ByteBuf |
encode(ByteBufAllocator allocator,
boolean respond,
long lastPosition,
ByteBuf data) |
static long |
lastPosition(ByteBuf byteBuf) |
static boolean |
respondFlag(ByteBuf byteBuf) |
public static final int FLAGS_KEEPALIVE_R
public static final long LAST_POSITION_MASK
public static ByteBuf encode(ByteBufAllocator allocator, boolean respond, long lastPosition, ByteBuf data)
public static boolean respondFlag(ByteBuf byteBuf)
public static long lastPosition(ByteBuf byteBuf)