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()
创建此 ByteBufHolder的深层副本。
|
LastStompContentSubframe |
duplicate()
重复此 ByteBufHolder 。
|
LastStompContentSubframe |
replace(ByteBuf content)
返回一个新 ByteBufHolder包含指定content 。
|
DefaultLastStompContentSubframe |
retain()
将参考计数增加
1 。
|
LastStompContentSubframe |
retain(int increment)
通过指定的
increment增加引用计数。
|
LastStompContentSubframe |
retainedDuplicate()
重复此 ByteBufHolder 。
|
java.lang.String |
toString() |
LastStompContentSubframe |
touch()
记录此对象的当前访问位置以进行调试。
|
LastStompContentSubframe |
touch(java.lang.Object hint)
记录此对象的当前访问位置,并附加一些用于调试的任意信息。
|
decoderResult, setDecoderResultcontent, contentToString, equals, hashCode, refCnt, release, releaseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontentrefCnt, release, releasedecoderResult, setDecoderResultpublic DefaultLastStompContentSubframe(ByteBuf content)
public LastStompContentSubframe copy()
DefaultByteBufHolder
ByteBufHolder的深层副本。
此方法默认调用replace(content().copy()) 。
copy在界面
ByteBufHolder
copy在界面
LastStompContentSubframe
copy在界面
StompContentSubframe
copy在课堂上
DefaultStompContentSubframe
public LastStompContentSubframe duplicate()
DefaultByteBufHolder
duplicate在界面
ByteBufHolder
duplicate ,界面
LastStompContentSubframe
duplicate在界面
StompContentSubframe
duplicate在课堂上
DefaultStompContentSubframe
public LastStompContentSubframe retainedDuplicate()
DefaultByteBufHolder
ByteBufHolder 。
此方法返回一个保留的重复,不像ByteBufHolder.duplicate() 。
该方法默认调用replace(content().retainedDuplicate()) 。
retainedDuplicate ,界面
ByteBufHolder
retainedDuplicate ,界面
LastStompContentSubframe
retainedDuplicate在界面
StompContentSubframe
retainedDuplicate在课堂上
DefaultStompContentSubframe
ByteBuf.retainedDuplicate()
public LastStompContentSubframe replace(ByteBuf content)
DefaultByteBufHolder
ByteBufHolder包含指定content 。
重写此方法以返回其内容设置为指定的content的此对象的新实例。 的默认实现DefaultByteBufHolder.copy() , DefaultByteBufHolder.duplicate()和DefaultByteBufHolder.retainedDuplicate()调用此方法来创建一个副本。
replace ,界面
ByteBufHolder
replace ,界面
LastStompContentSubframe
replace在界面
StompContentSubframe
replace在课堂上
DefaultStompContentSubframe
public DefaultLastStompContentSubframe retain()
ReferenceCounted
1 。
retain ,界面
ByteBufHolder
retain在界面
LastStompContentSubframe
retain ,界面
StompContentSubframe
retain在界面
ReferenceCounted
retain在课堂上
DefaultStompContentSubframe
public LastStompContentSubframe retain(int increment)
ReferenceCounted
increment 。
retain在界面
ByteBufHolder
retain在界面
LastStompContentSubframe
retain在界面
StompContentSubframe
retain ,界面
ReferenceCounted
retain在课堂
DefaultStompContentSubframe
public LastStompContentSubframe touch()
ReferenceCounted复制的描述
touch ,界面
ByteBufHolder
touch ,界面
LastStompContentSubframe
touch ,界面
StompContentSubframe
touch在界面
ReferenceCounted
touch在
DefaultStompContentSubframe
public LastStompContentSubframe touch(java.lang.Object hint)
ReferenceCounted复制的描述
ResourceLeakDetector提供给您。
touch在界面
ByteBufHolder
touch在界面
LastStompContentSubframe
touch在界面
StompContentSubframe
touch在界面
ReferenceCounted
touch在课堂上
DefaultStompContentSubframe
public java.lang.String toString()
toString在课堂上
DefaultStompContentSubframe
Copyright © 2008–2018 The Netty Project. All rights reserved.