public final class ConnectionClose extends Method
Method.CompletionListener| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE |
| Constructor and Description |
|---|
ConnectionClose() |
ConnectionClose(ConnectionCloseCode replyCode,
String replyText,
Option... _options) |
| Modifier and Type | Method and Description |
|---|---|
ConnectionClose |
clearReplyCode() |
ConnectionClose |
clearReplyText() |
<C> void |
dispatch(C context,
MethodDelegate<C> delegate) |
byte |
getEncodedTrack() |
Map<String,Object> |
getFields() |
int |
getPackWidth() |
ConnectionCloseCode |
getReplyCode() |
String |
getReplyText() |
int |
getSizeWidth() |
int |
getStructType() |
boolean |
hasPayload() |
boolean |
hasReplyCode() |
boolean |
hasReplyText() |
boolean |
isConnectionControl() |
void |
read(Decoder dec)
Decodes this encodable using the given decoder.
|
ConnectionClose |
replyCode(ConnectionCloseCode value) |
ConnectionClose |
replyText(String value) |
ConnectionClose |
setReplyCode(ConnectionCloseCode value) |
ConnectionClose |
setReplyText(String 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 ConnectionClose()
public ConnectionClose(ConnectionCloseCode replyCode, String replyText, 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 hasReplyCode()
public final ConnectionClose clearReplyCode()
public final ConnectionCloseCode getReplyCode()
public final ConnectionClose setReplyCode(ConnectionCloseCode value)
public final ConnectionClose replyCode(ConnectionCloseCode value)
public final boolean hasReplyText()
public final ConnectionClose clearReplyText()
public final String getReplyText()
public final ConnectionClose setReplyText(String value)
public final ConnectionClose replyText(String value)
public void write(Encoder enc)
Encodablepublic void read(Decoder dec)
EncodableCopyright © 2006–2018 The Apache Software Foundation. All rights reserved.