public class DefaultLastStompContentSubframe extends DefaultStompContentSubframe implements LastStompContentSubframe
LastStompContentSubframe
.EMPTY_LAST_CONTENT
Constructor and Description |
---|
DefaultLastStompContentSubframe(ByteBuf content) |
Modifier and Type | Method and Description |
---|---|
LastStompContentSubframe |
copy()
Create a deep copy of this
ByteBufHolder . |
LastStompContentSubframe |
duplicate()
Duplicate the
ByteBufHolder . |
DefaultLastStompContentSubframe |
retain()
Increases the reference count by
1 . |
LastStompContentSubframe |
retain(int increment)
Increases the reference count by the specified
increment . |
String |
toString() |
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, decoderResult, refCnt, release, release, setDecoderResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
content
refCnt, release, release
decoderResult, setDecoderResult
public DefaultLastStompContentSubframe(ByteBuf content)
public DefaultLastStompContentSubframe retain()
ReferenceCounted
1
.retain
in interface ByteBufHolder
retain
in interface LastStompContentSubframe
retain
in interface StompContentSubframe
retain
in interface ReferenceCounted
retain
in class DefaultStompContentSubframe
public LastStompContentSubframe retain(int increment)
ReferenceCounted
increment
.retain
in interface ByteBufHolder
retain
in interface LastStompContentSubframe
retain
in interface StompContentSubframe
retain
in interface ReferenceCounted
retain
in class DefaultStompContentSubframe
public LastStompContentSubframe touch()
ReferenceCounted
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
in interface ByteBufHolder
touch
in interface LastStompContentSubframe
touch
in interface StompContentSubframe
touch
in interface ReferenceCounted
touch
in class DefaultStompContentSubframe
public LastStompContentSubframe touch(Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
in interface ByteBufHolder
touch
in interface LastStompContentSubframe
touch
in interface StompContentSubframe
touch
in interface ReferenceCounted
touch
in class DefaultStompContentSubframe
public LastStompContentSubframe copy()
ByteBufHolder
ByteBufHolder
.copy
in interface ByteBufHolder
copy
in interface LastStompContentSubframe
copy
in interface StompContentSubframe
copy
in class DefaultStompContentSubframe
public LastStompContentSubframe duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
in interface ByteBufHolder
duplicate
in interface LastStompContentSubframe
duplicate
in interface StompContentSubframe
duplicate
in class DefaultStompContentSubframe
public String toString()
toString
in class DefaultStompContentSubframe
Copyright © 2008–2015 The Netty Project. All rights reserved.