public final class SessionCommandPoint extends Method
Method.CompletionListener| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE |
| Constructor and Description |
|---|
SessionCommandPoint() |
SessionCommandPoint(int commandId,
long commandOffset,
Option... _options) |
| Modifier and Type | Method and Description |
|---|---|
SessionCommandPoint |
clearCommandId() |
SessionCommandPoint |
clearCommandOffset() |
SessionCommandPoint |
commandId(int value) |
SessionCommandPoint |
commandOffset(long value) |
<C> void |
dispatch(C context,
MethodDelegate<C> delegate) |
int |
getCommandId() |
long |
getCommandOffset() |
byte |
getEncodedTrack() |
Map<String,Object> |
getFields() |
int |
getPackWidth() |
int |
getSizeWidth() |
int |
getStructType() |
boolean |
hasCommandId() |
boolean |
hasCommandOffset() |
boolean |
hasPayload() |
boolean |
isConnectionControl() |
void |
read(Decoder dec)
Decodes this encodable using the given decoder.
|
SessionCommandPoint |
setCommandId(int value) |
SessionCommandPoint |
setCommandOffset(long value) |
void |
write(Encoder enc)
Encodes this encodable using the given encoder.
|
complete, create, delegate, getBody, getBodySize, getChannel, getHeader, getId, hasCompletionListener, isBatch, isSync, isUnreliable, setBody, setChannel, setCompletionListener, setHeader, setSync, toStringgetEncodedType, isDirty, setDirtypublic static final int TYPE
public SessionCommandPoint()
public SessionCommandPoint(int commandId,
long commandOffset,
Option... _options)
public final int getStructType()
getStructType in class Structpublic final int getSizeWidth()
getSizeWidth in class Structpublic final int getPackWidth()
getPackWidth in class Structpublic final boolean hasPayload()
hasPayload in class Methodpublic final byte getEncodedTrack()
getEncodedTrack in interface ProtocolEventgetEncodedTrack in class Methodpublic final boolean isConnectionControl()
public <C> void dispatch(C context,
MethodDelegate<C> delegate)
public final boolean hasCommandId()
public final SessionCommandPoint clearCommandId()
public final int getCommandId()
public final SessionCommandPoint setCommandId(int value)
public final SessionCommandPoint commandId(int value)
public final boolean hasCommandOffset()
public final SessionCommandPoint clearCommandOffset()
public final long getCommandOffset()
public final SessionCommandPoint setCommandOffset(long value)
public final SessionCommandPoint commandOffset(long value)
public void write(Encoder enc)
Encodablepublic void read(Decoder dec)
EncodableCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.