public final class SessionTimeout extends Method
Method.CompletionListener
Modifier and Type | Field and Description |
---|---|
static int |
TYPE |
Constructor and Description |
---|
SessionTimeout() |
SessionTimeout(long timeout,
Option... _options) |
Modifier and Type | Method and Description |
---|---|
SessionTimeout |
clearTimeout() |
<C> void |
dispatch(C context,
MethodDelegate<C> delegate) |
byte |
getEncodedTrack() |
Map<String,Object> |
getFields() |
int |
getPackWidth() |
int |
getSizeWidth() |
int |
getStructType() |
long |
getTimeout() |
boolean |
hasPayload() |
boolean |
hasTimeout() |
boolean |
isConnectionControl() |
void |
read(Decoder dec)
Decodes this encodable using the given decoder.
|
SessionTimeout |
setTimeout(long value) |
SessionTimeout |
timeout(long 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 SessionTimeout()
public SessionTimeout(long timeout, 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 hasTimeout()
public final SessionTimeout clearTimeout()
public final long getTimeout()
public final SessionTimeout setTimeout(long value)
public final SessionTimeout timeout(long value)
public void write(Encoder enc)
Encodable
public void read(Decoder dec)
Encodable
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.