public final class SessionAttach extends Method
Method.CompletionListener| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE |
| Constructor and Description |
|---|
SessionAttach() |
SessionAttach(byte[] name,
Option... _options) |
| Modifier and Type | Method and Description |
|---|---|
SessionAttach |
clearForce() |
SessionAttach |
clearName() |
<C> void |
dispatch(C context,
MethodDelegate<C> delegate) |
SessionAttach |
force(boolean value) |
byte |
getEncodedTrack() |
Map<String,Object> |
getFields() |
boolean |
getForce() |
byte[] |
getName() |
int |
getPackWidth() |
int |
getSizeWidth() |
int |
getStructType() |
boolean |
hasForce() |
boolean |
hasName() |
boolean |
hasPayload() |
boolean |
isConnectionControl() |
SessionAttach |
name(byte[] value) |
void |
read(Decoder dec)
Decodes this encodable using the given decoder.
|
SessionAttach |
setForce(boolean value) |
SessionAttach |
setName(byte[] 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 SessionAttach()
public SessionAttach(byte[] name,
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 hasName()
public final SessionAttach clearName()
public final byte[] getName()
public final SessionAttach setName(byte[] value)
public final SessionAttach name(byte[] value)
public final boolean hasForce()
public final SessionAttach clearForce()
public final boolean getForce()
public final SessionAttach setForce(boolean value)
public final SessionAttach force(boolean value)
public void write(Encoder enc)
Encodablepublic void read(Decoder dec)
EncodableCopyright © 2006–2018 The Apache Software Foundation. All rights reserved.