public final class SessionExpected extends Method
Method.CompletionListener| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE |
| Constructor and Description |
|---|
SessionExpected() |
SessionExpected(RangeSet commands,
List<Object> fragments,
Option... _options) |
| Modifier and Type | Method and Description |
|---|---|
SessionExpected |
clearCommands() |
SessionExpected |
clearFragments() |
SessionExpected |
commands(RangeSet value) |
<C> void |
dispatch(C context,
MethodDelegate<C> delegate) |
SessionExpected |
fragments(List<Object> value) |
RangeSet |
getCommands() |
byte |
getEncodedTrack() |
Map<String,Object> |
getFields() |
List<Object> |
getFragments() |
int |
getPackWidth() |
int |
getSizeWidth() |
int |
getStructType() |
boolean |
hasCommands() |
boolean |
hasFragments() |
boolean |
hasPayload() |
boolean |
isConnectionControl() |
void |
read(Decoder dec)
Decodes this encodable using the given decoder.
|
SessionExpected |
setCommands(RangeSet value) |
SessionExpected |
setFragments(List<Object> 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 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 hasCommands()
public final SessionExpected clearCommands()
public final RangeSet getCommands()
public final SessionExpected setCommands(RangeSet value)
public final SessionExpected commands(RangeSet value)
public final boolean hasFragments()
public final SessionExpected clearFragments()
public final SessionExpected setFragments(List<Object> value)
public final SessionExpected fragments(List<Object> value)
public void write(Encoder enc)
Encodablepublic void read(Decoder dec)
EncodableCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.