public class ResumeFrameCodec extends Object
Constructor and Description |
---|
ResumeFrameCodec() |
Modifier and Type | Method and Description |
---|---|
static ByteBuf |
encode(ByteBufAllocator allocator,
ByteBuf token,
long lastReceivedServerPos,
long firstAvailableClientPos) |
static long |
firstAvailableClientPos(ByteBuf byteBuf) |
static ByteBuf |
generateResumeToken() |
static long |
lastReceivedServerPos(ByteBuf byteBuf) |
static ByteBuf |
token(ByteBuf byteBuf) |
static int |
version(ByteBuf byteBuf) |
public static ByteBuf encode(ByteBufAllocator allocator, ByteBuf token, long lastReceivedServerPos, long firstAvailableClientPos)
public static int version(ByteBuf byteBuf)
public static long lastReceivedServerPos(ByteBuf byteBuf)
public static long firstAvailableClientPos(ByteBuf byteBuf)
public static ByteBuf generateResumeToken()