public final class DtxStart extends Method
Method.CompletionListener| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE |
| Constructor and Description |
|---|
DtxStart() |
DtxStart(Xid xid,
Option... _options) |
| Modifier and Type | Method and Description |
|---|---|
DtxStart |
clearJoin() |
DtxStart |
clearResume() |
DtxStart |
clearXid() |
<C> void |
dispatch(C context,
MethodDelegate<C> delegate) |
byte |
getEncodedTrack() |
Map<String,Object> |
getFields() |
boolean |
getJoin() |
int |
getPackWidth() |
boolean |
getResume() |
int |
getSizeWidth() |
int |
getStructType() |
Xid |
getXid() |
boolean |
hasJoin() |
boolean |
hasPayload() |
boolean |
hasResume() |
boolean |
hasXid() |
boolean |
isConnectionControl() |
DtxStart |
join(boolean value) |
void |
read(Decoder dec)
Decodes this encodable using the given decoder.
|
DtxStart |
resume(boolean value) |
DtxStart |
setJoin(boolean value) |
DtxStart |
setResume(boolean value) |
DtxStart |
setXid(Xid value) |
void |
write(Encoder enc)
Encodes this encodable using the given encoder.
|
DtxStart |
xid(Xid value) |
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 hasXid()
public final DtxStart clearXid()
public final Xid getXid()
public final boolean hasJoin()
public final DtxStart clearJoin()
public final boolean getJoin()
public final DtxStart setJoin(boolean value)
public final DtxStart join(boolean value)
public final boolean hasResume()
public final DtxStart clearResume()
public final boolean getResume()
public final DtxStart setResume(boolean value)
public final DtxStart resume(boolean value)
public void write(Encoder enc)
Encodablepublic void read(Decoder dec)
EncodableCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.