public interface LastStompContentSubframe extends StompContentSubframe
StompContentSubframe表示内容批处理结束
请注意,即使协议不发送内容,也会发出一个空的LastStompContentSubframe ,以使上游解析更容易。
| Modifier and Type | Field and Description |
|---|---|
static LastStompContentSubframe |
EMPTY_LAST_CONTENT |
| Modifier and Type | Method and Description |
|---|---|
LastStompContentSubframe |
copy()
创建此 ByteBufHolder的深层副本。
|
LastStompContentSubframe |
duplicate()
重复此 ByteBufHolder 。
|
LastStompContentSubframe |
replace(ByteBuf content)
返回一个新 ByteBufHolder包含指定content 。
|
LastStompContentSubframe |
retain()
将引用计数增加
1 。
|
LastStompContentSubframe |
retain(int increment)
将参考计数增加指定的
increment 。
|
LastStompContentSubframe |
retainedDuplicate()
重复此 ByteBufHolder 。
|
LastStompContentSubframe |
touch()
记录此对象的当前访问位置以进行调试。
|
LastStompContentSubframe |
touch(java.lang.Object hint)
记录此对象的当前访问位置,并附加一些用于调试的任意信息。
|
contentrefCnt, release, releasedecoderResult, setDecoderResultstatic final LastStompContentSubframe EMPTY_LAST_CONTENT
LastStompContentSubframe copy()
ByteBufHolder复制的描述
ByteBufHolder的深层副本。
copy在界面
ByteBufHolder
copy在界面
StompContentSubframe
LastStompContentSubframe duplicate()
ByteBufHolder复制的描述
ByteBufHolder 。
请注意,这不会自动调用ByteBufHolder.retain() 。
duplicate在界面
ByteBufHolder
duplicate在界面
StompContentSubframe
LastStompContentSubframe retainedDuplicate()
ByteBufHolder复制的描述
ByteBufHolder 。
此方法返回一个保留的重复,不像ByteBufHolder.duplicate() 。
retainedDuplicate在界面
ByteBufHolder
retainedDuplicate在界面
StompContentSubframe
ByteBuf.retainedDuplicate()
LastStompContentSubframe replace(ByteBuf content)
ByteBufHolder复制的描述
ByteBufHolder包含指定content 。
replace在界面
ByteBufHolder
replace在界面
StompContentSubframe
LastStompContentSubframe retain()
ReferenceCounted复制的描述
1 。
retain在界面
ByteBufHolder
retain在界面
ReferenceCounted
retain在界面
StompContentSubframe
LastStompContentSubframe retain(int increment)
ReferenceCounted复制的描述
increment增加参考计数。
retain在界面
ByteBufHolder
retain在界面
ReferenceCounted
retain在界面
StompContentSubframe
LastStompContentSubframe touch()
ReferenceCounted复制的描述
touch在界面
ByteBufHolder
touch在界面
ReferenceCounted
touch在界面
StompContentSubframe
LastStompContentSubframe touch(java.lang.Object hint)
ReferenceCounted
ResourceLeakDetector提供给您。
touch在界面
ByteBufHolder
touch在界面
ReferenceCounted
touch in interface
StompContentSubframe
Copyright © 2008–2018 The Netty Project. All rights reserved.