public final class ConnectionRedirect extends Method
Method.CompletionListener| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE |
| Constructor and Description |
|---|
ConnectionRedirect() |
ConnectionRedirect(String host,
List<Object> knownHosts,
Option... _options) |
| Modifier and Type | Method and Description |
|---|---|
ConnectionRedirect |
clearHost() |
ConnectionRedirect |
clearKnownHosts() |
<C> void |
dispatch(C context,
MethodDelegate<C> delegate) |
byte |
getEncodedTrack() |
Map<String,Object> |
getFields() |
String |
getHost() |
List<Object> |
getKnownHosts() |
int |
getPackWidth() |
int |
getSizeWidth() |
int |
getStructType() |
boolean |
hasHost() |
boolean |
hasKnownHosts() |
boolean |
hasPayload() |
ConnectionRedirect |
host(String value) |
boolean |
isConnectionControl() |
ConnectionRedirect |
knownHosts(List<Object> value) |
void |
read(Decoder dec)
Decodes this encodable using the given decoder.
|
ConnectionRedirect |
setHost(String value) |
ConnectionRedirect |
setKnownHosts(List<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 hasHost()
public final ConnectionRedirect clearHost()
public final String getHost()
public final ConnectionRedirect setHost(String value)
public final ConnectionRedirect host(String value)
public final boolean hasKnownHosts()
public final ConnectionRedirect clearKnownHosts()
public final ConnectionRedirect setKnownHosts(List<Object> value)
public final ConnectionRedirect knownHosts(List<Object> value)
public void write(Encoder enc)
Encodablepublic void read(Decoder dec)
EncodableCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.