public final class ConnectionStartOk extends Method
Method.CompletionListener| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE |
| Constructor and Description |
|---|
ConnectionStartOk() |
ConnectionStartOk(Map<String,Object> clientProperties,
String mechanism,
byte[] response,
String locale,
Option... _options) |
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 hasClientProperties()
public final ConnectionStartOk clearClientProperties()
public final ConnectionStartOk setClientProperties(Map<String,Object> value)
public final ConnectionStartOk clientProperties(Map<String,Object> value)
public final boolean hasMechanism()
public final ConnectionStartOk clearMechanism()
public final String getMechanism()
public final ConnectionStartOk setMechanism(String value)
public final ConnectionStartOk mechanism(String value)
public final boolean hasResponse()
public final ConnectionStartOk clearResponse()
public final byte[] getResponse()
public final ConnectionStartOk setResponse(byte[] value)
public final ConnectionStartOk response(byte[] value)
public final boolean hasLocale()
public final ConnectionStartOk clearLocale()
public final String getLocale()
public final ConnectionStartOk setLocale(String value)
public final ConnectionStartOk locale(String value)
public void write(Encoder enc)
Encodablepublic void read(Decoder dec)
EncodableCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.