public final class SessionDetached extends Method
Method.CompletionListener
Modifier and Type | Field and Description |
---|---|
static int |
TYPE |
Constructor and Description |
---|
SessionDetached() |
SessionDetached(byte[] name,
SessionDetachCode code,
Option... _options) |
Modifier and Type | Method and Description |
---|---|
SessionDetached |
clearCode() |
SessionDetached |
clearName() |
SessionDetached |
code(SessionDetachCode value) |
<C> void |
dispatch(C context,
MethodDelegate<C> delegate) |
SessionDetachCode |
getCode() |
byte |
getEncodedTrack() |
Map<String,Object> |
getFields() |
byte[] |
getName() |
int |
getPackWidth() |
int |
getSizeWidth() |
int |
getStructType() |
boolean |
hasCode() |
boolean |
hasName() |
boolean |
hasPayload() |
boolean |
isConnectionControl() |
SessionDetached |
name(byte[] value) |
void |
read(Decoder dec)
Decodes this encodable using the given decoder.
|
SessionDetached |
setCode(SessionDetachCode value) |
SessionDetached |
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, toString
getEncodedType, isDirty, setDirty
public static final int TYPE
public SessionDetached()
public SessionDetached(byte[] name, SessionDetachCode code, 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 hasName()
public final SessionDetached clearName()
public final byte[] getName()
public final SessionDetached setName(byte[] value)
public final SessionDetached name(byte[] value)
public final boolean hasCode()
public final SessionDetached clearCode()
public final SessionDetachCode getCode()
public final SessionDetached setCode(SessionDetachCode value)
public final SessionDetached code(SessionDetachCode value)
public void write(Encoder enc)
Encodable
public void read(Decoder dec)
Encodable
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.