public interface StompFrame extends StompHeadersSubframe, LastStompContentSubframe
StompHeadersSubframe和LastStompContentSubframe组合到一个帧中。
所以它代表了一个完整的 STOMP框架。
EMPTY_LAST_CONTENT| Modifier and Type | Method and Description |
|---|---|
StompFrame |
copy()
创建此 ByteBufHolder的深层副本。
|
StompFrame |
duplicate()
重复此 ByteBufHolder 。
|
StompFrame |
replace(ByteBuf content)
返回一个新 ByteBufHolder包含指定content 。
|
StompFrame |
retain()
将引用计数增加
1 。
|
StompFrame |
retain(int increment)
按指定的
increment增加参考计数。
|
StompFrame |
retainedDuplicate()
重复此 ByteBufHolder 。
|
StompFrame |
touch()
记录此对象的当前访问位置以进行调试。
|
StompFrame |
touch(java.lang.Object hint)
记录此对象的当前访问位置,并附加一些用于调试的任意信息。
|
command, headerscontentrefCnt, release, releasedecoderResult, setDecoderResultStompFrame copy()
ByteBufHolder复制的描述
ByteBufHolder的深层副本。
copy在界面
ByteBufHolder
copy在界面
LastStompContentSubframe
copy在界面
StompContentSubframe
StompFrame duplicate()
ByteBufHolder复制的描述
ByteBufHolder 。
请注意,这不会自动调用ByteBufHolder.retain() 。
duplicate在界面
ByteBufHolder
duplicate在界面
LastStompContentSubframe
duplicate在界面
StompContentSubframe
StompFrame retainedDuplicate()
ByteBufHolder
ByteBufHolder 。
与ByteBufHolder.duplicate()不同,此方法返回保留的重复。
retainedDuplicate在界面
ByteBufHolder
retainedDuplicate在界面
LastStompContentSubframe
retainedDuplicate在界面
StompContentSubframe
ByteBuf.retainedDuplicate()
StompFrame replace(ByteBuf content)
ByteBufHolder
ByteBufHolder包含指定content 。
replace在界面
ByteBufHolder
replace在界面
LastStompContentSubframe
replace在界面
StompContentSubframe
StompFrame retain()
ReferenceCounted复制的描述
1 。
retain在界面
ByteBufHolder
retain在界面
LastStompContentSubframe
retain在界面
ReferenceCounted
retain在界面
StompContentSubframe
StompFrame retain(int increment)
ReferenceCounted复制的描述
increment 。
retain在界面
ByteBufHolder
retain在界面
LastStompContentSubframe
retain在界面
ReferenceCounted
retain在界面
StompContentSubframe
StompFrame touch()
ReferenceCounted复制的描述
touch在界面
ByteBufHolder
touch在界面
LastStompContentSubframe
touch在界面
ReferenceCounted
touch在界面
StompContentSubframe
StompFrame touch(java.lang.Object hint)
ReferenceCounted复制的描述
ResourceLeakDetector提供给您。
touch在界面
ByteBufHolder
touch在界面
LastStompContentSubframe
touch在界面
ReferenceCounted
touch在界面
StompContentSubframe
Copyright © 2008–2018 The Netty Project. All rights reserved.