Top Fields Constructors Methods
io.rsocket.frame

public Class ResumeFrameCodec

extends Object
Class Inheritance
Imports
io.netty.buffer.ByteBuf, .ByteBufAllocator, .Unpooled, java.util.UUID

Field Summary

Modifier and TypeField and Description
pack-priv static final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static ByteBuf
encode(ByteBufAllocator allocator, ByteBuf token, long lastReceivedServerPos, long firstAvailableClientPos)

public static long
public static ByteBuf
public static long
public static ByteBuf
token(ByteBuf byteBuf)

public static int
version(ByteBuf byteBuf)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CURRENT_VERSIONback to summary
pack-priv static final int CURRENT_VERSION

Constructor Detail

ResumeFrameCodecback to summary
public ResumeFrameCodec()

Method Detail

encodeback to summary
public static ByteBuf encode(ByteBufAllocator allocator, ByteBuf token, long lastReceivedServerPos, long firstAvailableClientPos)
firstAvailableClientPosback to summary
public static long firstAvailableClientPos(ByteBuf byteBuf)
generateResumeTokenback to summary
public static ByteBuf generateResumeToken()
lastReceivedServerPosback to summary
public static long lastReceivedServerPos(ByteBuf byteBuf)
tokenback to summary
public static ByteBuf token(ByteBuf byteBuf)
versionback to summary
public static int version(ByteBuf byteBuf)