public final class ConnectionStart extends Method
Method.CompletionListener| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE |
| Constructor and Description |
|---|
ConnectionStart() |
ConnectionStart(Map<String,Object> serverProperties,
List<Object> mechanisms,
List<Object> locales,
Option... _options) |
| Modifier and Type | Method and Description |
|---|---|
ConnectionStart |
clearLocales() |
ConnectionStart |
clearMechanisms() |
ConnectionStart |
clearServerProperties() |
<C> void |
dispatch(C context,
MethodDelegate<C> delegate) |
byte |
getEncodedTrack() |
Map<String,Object> |
getFields() |
List<Object> |
getLocales() |
List<Object> |
getMechanisms() |
int |
getPackWidth() |
Map<String,Object> |
getServerProperties() |
int |
getSizeWidth() |
int |
getStructType() |
boolean |
hasLocales() |
boolean |
hasMechanisms() |
boolean |
hasPayload() |
boolean |
hasServerProperties() |
boolean |
isConnectionControl() |
ConnectionStart |
locales(List<Object> value) |
ConnectionStart |
mechanisms(List<Object> value) |
void |
read(Decoder dec)
Decodes this encodable using the given decoder.
|
ConnectionStart |
serverProperties(Map<String,Object> value) |
ConnectionStart |
setLocales(List<Object> value) |
ConnectionStart |
setMechanisms(List<Object> value) |
ConnectionStart |
setServerProperties(Map<String,Object> 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 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 hasServerProperties()
public final ConnectionStart clearServerProperties()
public final ConnectionStart setServerProperties(Map<String,Object> value)
public final ConnectionStart serverProperties(Map<String,Object> value)
public final boolean hasMechanisms()
public final ConnectionStart clearMechanisms()
public final ConnectionStart setMechanisms(List<Object> value)
public final ConnectionStart mechanisms(List<Object> value)
public final boolean hasLocales()
public final ConnectionStart clearLocales()
public final ConnectionStart setLocales(List<Object> value)
public final ConnectionStart locales(List<Object> value)
public void write(Encoder enc)
Encodablepublic void read(Decoder dec)
EncodableCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.