Top Fields Constructors Methods
io.rsocket.frame

public Class KeepAliveFrameCodec

extends Object
Class Inheritance
Imports
io.netty.buffer.ByteBuf, .ByteBufAllocator

Field Summary

Modifier and TypeField and Description
public static final 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

public static final long

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ByteBuf
data(ByteBuf byteBuf)

public static ByteBuf
encode(final ByteBufAllocator allocator, final boolean respond, final long lastPosition, final ByteBuf data)

public static long
public static boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

FLAGS_KEEPALIVE_Rback to summary
public static final 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

LAST_POSITION_MASKback to summary
public static final long LAST_POSITION_MASK

Constructor Detail

KeepAliveFrameCodecback to summary
private KeepAliveFrameCodec()

Method Detail

databack to summary
public static ByteBuf data(ByteBuf byteBuf)
encodeback to summary
public static ByteBuf encode(final ByteBufAllocator allocator, final boolean respond, final long lastPosition, final ByteBuf data)
lastPositionback to summary
public static long lastPosition(ByteBuf byteBuf)
respondFlagback to summary
public static boolean respondFlag(ByteBuf byteBuf)