public interface LastStompContentSubframe extends StompContentSubframe
StompContentSubframe
which signals the end of the content batch
Note, even when no content is emitted by the protocol, an
empty LastStompContentSubframe
is issued to make the upstream parsing
easier.Modifier and Type | Field and Description |
---|---|
static LastStompContentSubframe |
EMPTY_LAST_CONTENT |
Modifier and Type | Method and Description |
---|---|
LastStompContentSubframe |
copy()
Create a deep copy of this
ByteBufHolder . |
LastStompContentSubframe |
duplicate()
Duplicate the
ByteBufHolder . |
LastStompContentSubframe |
retain()
Increases the reference count by
1 . |
LastStompContentSubframe |
retain(int increment)
Increases the reference count by the specified
increment . |
LastStompContentSubframe |
touch()
Records the current access location of this object for debugging purposes.
|
LastStompContentSubframe |
touch(Object hint)
Records the current access location of this object with an additonal arbitrary information for debugging
purposes.
|
content
refCnt, release, release
decoderResult, setDecoderResult
static final LastStompContentSubframe EMPTY_LAST_CONTENT
LastStompContentSubframe copy()
ByteBufHolder
ByteBufHolder
.copy
in interface ByteBufHolder
copy
in interface StompContentSubframe
LastStompContentSubframe duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
in interface ByteBufHolder
duplicate
in interface StompContentSubframe
LastStompContentSubframe retain()
ReferenceCounted
1
.retain
in interface ByteBufHolder
retain
in interface ReferenceCounted
retain
in interface StompContentSubframe
LastStompContentSubframe retain(int increment)
ReferenceCounted
increment
.retain
in interface ByteBufHolder
retain
in interface ReferenceCounted
retain
in interface StompContentSubframe
LastStompContentSubframe touch()
ReferenceCounted
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
in interface ByteBufHolder
touch
in interface ReferenceCounted
touch
in interface StompContentSubframe
LastStompContentSubframe touch(Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
in interface ByteBufHolder
touch
in interface ReferenceCounted
touch
in interface StompContentSubframe
Copyright © 2008–2015 The Netty Project. All rights reserved.