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, toString
getEncodedType, isDirty, setDirty
public static final int TYPE
public ConnectionClose()
public ConnectionClose(ConnectionCloseCode replyCode, String replyText, 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 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)
Encodable
public void read(Decoder dec)
Encodable
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.