public final class ConnectionTuneOk extends Method
Method.CompletionListener
Modifier and Type | Field and Description |
---|---|
static int |
TYPE |
Constructor and Description |
---|
ConnectionTuneOk() |
ConnectionTuneOk(int channelMax,
int maxFrameSize,
int heartbeat,
Option... _options) |
Modifier and Type | Method and Description |
---|---|
ConnectionTuneOk |
channelMax(int value) |
ConnectionTuneOk |
clearChannelMax() |
ConnectionTuneOk |
clearHeartbeat() |
ConnectionTuneOk |
clearMaxFrameSize() |
<C> void |
dispatch(C context,
MethodDelegate<C> delegate) |
int |
getChannelMax() |
byte |
getEncodedTrack() |
Map<String,Object> |
getFields() |
int |
getHeartbeat() |
int |
getMaxFrameSize() |
int |
getPackWidth() |
int |
getSizeWidth() |
int |
getStructType() |
boolean |
hasChannelMax() |
boolean |
hasHeartbeat() |
boolean |
hasMaxFrameSize() |
boolean |
hasPayload() |
ConnectionTuneOk |
heartbeat(int value) |
boolean |
isConnectionControl() |
ConnectionTuneOk |
maxFrameSize(int value) |
void |
read(Decoder dec)
Decodes this encodable using the given decoder.
|
ConnectionTuneOk |
setChannelMax(int value) |
ConnectionTuneOk |
setHeartbeat(int value) |
ConnectionTuneOk |
setMaxFrameSize(int 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 ConnectionTuneOk()
public ConnectionTuneOk(int channelMax, int maxFrameSize, int heartbeat, 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 hasChannelMax()
public final ConnectionTuneOk clearChannelMax()
public final int getChannelMax()
public final ConnectionTuneOk setChannelMax(int value)
public final ConnectionTuneOk channelMax(int value)
public final boolean hasMaxFrameSize()
public final ConnectionTuneOk clearMaxFrameSize()
public final int getMaxFrameSize()
public final ConnectionTuneOk setMaxFrameSize(int value)
public final ConnectionTuneOk maxFrameSize(int value)
public final boolean hasHeartbeat()
public final ConnectionTuneOk clearHeartbeat()
public final int getHeartbeat()
public final ConnectionTuneOk setHeartbeat(int value)
public final ConnectionTuneOk heartbeat(int value)
public void write(Encoder enc)
Encodable
public void read(Decoder dec)
Encodable
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.