public final class ResumeOkFrame extends Object
RESUME_OK frame.Disposable.Composite, Disposable.SwapFRAME_TYPE_SHIFT| Modifier and Type | Method and Description |
|---|---|
static ResumeOkFrame |
createResumeOkFrame(ByteBuf byteBuf)
Creates the
RESUME_OK frame. |
static ResumeOkFrame |
createResumeOkFrame(ByteBufAllocator byteBufAllocator,
long lastReceivedClientPosition)
Creates the
RESUME_OK frame. |
void |
dispose() |
boolean |
equals(Object o) |
FrameType |
getFrameType()
Returns the
FrameType. |
long |
getLastReceivedClientPosition()
Returns the last received client position.
|
ByteBuf |
getUnsafeFrame()
Returns the frame directly.
|
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitconsumeFrame, mapFrameisDisposedpublic static ResumeOkFrame createResumeOkFrame(ByteBuf byteBuf)
RESUME_OK frame.byteBuf - the ByteBuf representing the frameRESUME_OK frame.NullPointerException - if byteBuf is nullpublic static ResumeOkFrame createResumeOkFrame(ByteBufAllocator byteBufAllocator, long lastReceivedClientPosition)
RESUME_OK frame.byteBufAllocator - the ByteBufAllocator to uselastReceivedClientPosition - the last received server positionRESUME_OK frameNullPointerException - if byteBufAllocator is nullpublic long getLastReceivedClientPosition()
public final void dispose()
dispose in interface Disposablepublic FrameType getFrameType()
FrameFrameType.getFrameType in interface FrameFrameTypepublic final ByteBuf getUnsafeFrame()
FrameNote: this frame will be outside of the Frame's lifecycle and may be released
at any time. It is highly recommended that you ByteBuf.retain() the frame if you store
it.
getUnsafeFrame in interface FrameFrame.consumeFrame(Consumer),
Frame.mapFrame(Function)