public final class ExecutionResult extends Method
Method.CompletionListener
Modifier and Type | Field and Description |
---|---|
static int |
TYPE |
Constructor and Description |
---|
ExecutionResult() |
ExecutionResult(int commandId,
Struct value,
Option... _options) |
Modifier and Type | Method and Description |
---|---|
ExecutionResult |
clearCommandId() |
ExecutionResult |
clearValue() |
ExecutionResult |
commandId(int value) |
<C> void |
dispatch(C context,
MethodDelegate<C> delegate) |
int |
getCommandId() |
byte |
getEncodedTrack() |
Map<String,Object> |
getFields() |
int |
getPackWidth() |
int |
getSizeWidth() |
int |
getStructType() |
Struct |
getValue() |
boolean |
hasCommandId() |
boolean |
hasPayload() |
boolean |
hasValue() |
boolean |
isConnectionControl() |
void |
read(Decoder dec)
Decodes this encodable using the given decoder.
|
ExecutionResult |
setCommandId(int value) |
ExecutionResult |
setValue(Struct value) |
ExecutionResult |
value(Struct 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 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 hasCommandId()
public final ExecutionResult clearCommandId()
public final int getCommandId()
public final ExecutionResult setCommandId(int value)
public final ExecutionResult commandId(int value)
public final boolean hasValue()
public final ExecutionResult clearValue()
public final Struct getValue()
public final ExecutionResult setValue(Struct value)
public final ExecutionResult value(Struct value)
public void write(Encoder enc)
Encodable
public void read(Decoder dec)
Encodable
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.