public abstract class ConnectionSetupPayload extends AbstractReferenceCounted implements Payload
Constructor and Description |
---|
ConnectionSetupPayload() |
Modifier and Type | Method and Description |
---|---|
static ConnectionSetupPayload |
create(ByteBuf setupFrame) |
abstract String |
dataMimeType() |
abstract int |
getFlags() |
abstract int |
keepAliveInterval() |
abstract int |
keepAliveMaxLifetime() |
abstract String |
metadataMimeType() |
ConnectionSetupPayload |
retain()
Increases the reference count by
1 . |
ConnectionSetupPayload |
retain(int increment)
Increases the reference count by the specified
increment . |
abstract ConnectionSetupPayload |
touch()
Records the current access location of this object for debugging purposes.
|
abstract ConnectionSetupPayload |
touch(Object hint)
Records the current access location of this object with an additional arbitrary information for
debugging purposes.
|
abstract boolean |
willClientHonorLease() |
deallocate, refCnt, release, release, setRefCnt
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
data, getData, getDataUtf8, getMetadata, getMetadataUtf8, hasMetadata, metadata, sliceData, sliceMetadata
refCnt, release, release
public static ConnectionSetupPayload create(ByteBuf setupFrame)
public abstract int keepAliveInterval()
public abstract int keepAliveMaxLifetime()
public abstract String metadataMimeType()
public abstract String dataMimeType()
public abstract int getFlags()
public abstract boolean willClientHonorLease()
public ConnectionSetupPayload retain()
Payload
1
.retain
in interface ReferenceCounted
retain
in interface Payload
retain
in class AbstractReferenceCounted
public ConnectionSetupPayload retain(int increment)
Payload
increment
.retain
in interface ReferenceCounted
retain
in interface Payload
retain
in class AbstractReferenceCounted
public abstract ConnectionSetupPayload touch()
Payload
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
in interface ReferenceCounted
touch
in interface Payload
touch
in class AbstractReferenceCounted
public abstract ConnectionSetupPayload touch(Object hint)
Payload
ResourceLeakDetector
.touch
in interface ReferenceCounted
touch
in interface Payload