public final class SessionFlush extends Method
Method.CompletionListener
Modifier and Type | Field and Description |
---|---|
static int |
TYPE |
Constructor and Description |
---|
SessionFlush() |
SessionFlush(Option... _options) |
Modifier and Type | Method and Description |
---|---|
SessionFlush |
clearCompleted() |
SessionFlush |
clearConfirmed() |
SessionFlush |
clearExpected() |
SessionFlush |
completed(boolean value) |
SessionFlush |
confirmed(boolean value) |
<C> void |
dispatch(C context,
MethodDelegate<C> delegate) |
SessionFlush |
expected(boolean value) |
boolean |
getCompleted() |
boolean |
getConfirmed() |
byte |
getEncodedTrack() |
boolean |
getExpected() |
Map<String,Object> |
getFields() |
int |
getPackWidth() |
int |
getSizeWidth() |
int |
getStructType() |
boolean |
hasCompleted() |
boolean |
hasConfirmed() |
boolean |
hasExpected() |
boolean |
hasPayload() |
boolean |
isConnectionControl() |
void |
read(Decoder dec)
Decodes this encodable using the given decoder.
|
SessionFlush |
setCompleted(boolean value) |
SessionFlush |
setConfirmed(boolean value) |
SessionFlush |
setExpected(boolean 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, toString
getEncodedType, isDirty, setDirty
public static final int TYPE
public SessionFlush()
public SessionFlush(Option... _options)
public final int getStructType()
getStructType
in class Struct
public final int getSizeWidth()
getSizeWidth
in class Struct
public final int getPackWidth()
getPackWidth
in class Struct
public final boolean hasPayload()
hasPayload
in class Method
public final byte getEncodedTrack()
getEncodedTrack
in interface ProtocolEvent
getEncodedTrack
in class Method
public final boolean isConnectionControl()
public <C> void dispatch(C context, MethodDelegate<C> delegate)
public final boolean hasExpected()
public final SessionFlush clearExpected()
public final boolean getExpected()
public final SessionFlush setExpected(boolean value)
public final SessionFlush expected(boolean value)
public final boolean hasConfirmed()
public final SessionFlush clearConfirmed()
public final boolean getConfirmed()
public final SessionFlush setConfirmed(boolean value)
public final SessionFlush confirmed(boolean value)
public final boolean hasCompleted()
public final SessionFlush clearCompleted()
public final boolean getCompleted()
public final SessionFlush setCompleted(boolean value)
public final SessionFlush completed(boolean value)
public void write(Encoder enc)
Encodable
public void read(Decoder dec)
Encodable
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.