public class DefaultStompFrame extends DefaultStompHeadersSubframe implements StompFrame
StompFrame 。 
      command, decoderResult, headersEMPTY_LAST_CONTENT| Constructor and Description | 
|---|
| DefaultStompFrame(StompCommand command) | 
| DefaultStompFrame(StompCommand command, ByteBuf content) | 
| Modifier and Type | Method and Description | 
|---|---|
| ByteBuf | content() 
             返回这个 ByteBufHolder所持有的数据。 | 
| StompFrame | copy() 
             创建此 ByteBufHolder的深层副本。 | 
| StompFrame | duplicate() 
             重复此 ByteBufHolder。 | 
| int | refCnt()
              返回此对象的引用计数。 
             | 
| boolean | release()
              通过减小引用计数 
              1并且如果所述引用计数达到在将释放该对象0。 | 
| boolean | release(int decrement)
              减小由指定的引用计数 
              decrement并且如果所述引用计数达到在将释放该对象0。 | 
| StompFrame | replace(ByteBuf content) 
             返回一个新 ByteBufHolder包含指定content。 | 
| StompFrame | retain()
              将参考计数增加 
              1。 | 
| StompFrame | retain(int increment)
              将参考计数增加指定的 
              increment。 | 
| StompFrame | retainedDuplicate() 
             重复此 ByteBufHolder。 | 
| java.lang.String | toString() | 
| StompFrame | touch()
              记录此对象的当前访问位置以进行调试。 
             | 
| StompFrame | touch(java.lang.Object hint)
              记录此对象的当前访问位置,并附加一些用于调试的任意信息。 
             | 
command, decoderResult, headers, setDecoderResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcommand, headersdecoderResult, setDecoderResultpublic DefaultStompFrame(StompCommand command)
public DefaultStompFrame(StompCommand command, ByteBuf content)
public ByteBuf content()
ByteBufHolder复制的描述 
          ByteBufHolder所持有的数据。 
          content ,界面 
            ByteBufHolder 
           public StompFrame copy()
ByteBufHolder复制的描述 
          ByteBufHolder的深层副本。 
          copy在界面 
            ByteBufHolder 
           copy在界面 
            LastStompContentSubframe 
           copy在界面 
            StompContentSubframe 
           copy在界面 
            StompFrame 
           public StompFrame duplicate()
ByteBufHolder复制的描述 
          ByteBufHolder 。 
           请注意,这不会自动调用ByteBufHolder.retain() 。 
          duplicate在界面 
            ByteBufHolder 
           duplicate ,界面 
            LastStompContentSubframe 
           duplicate在界面 
            StompContentSubframe 
           duplicate在界面 
            StompFrame 
           public StompFrame retainedDuplicate()
ByteBufHolder复制的描述 
          ByteBufHolder 。 
           与ByteBufHolder.duplicate()不同,此方法返回保留的副本。 
          retainedDuplicate在界面 
            ByteBufHolder 
           retainedDuplicate ,界面 
            LastStompContentSubframe 
           retainedDuplicate在界面 
            StompContentSubframe 
           retainedDuplicate ,界面 
            StompFrame 
           ByteBuf.retainedDuplicate() 
           public StompFrame replace(ByteBuf content)
ByteBufHolder复制的描述 
          ByteBufHolder包含指定content 。 
          replace在界面 
            ByteBufHolder 
           replace在界面 
            LastStompContentSubframe 
           replace ,界面 
            StompContentSubframe 
           replace在界面 
            StompFrame 
           public int refCnt()
ReferenceCounted复制的描述 
          0 ,则表示该对象已被释放。 
          refCnt在界面 
            ReferenceCounted 
           public StompFrame retain()
ReferenceCounted复制的描述 
          1 。 
          retain在界面 
            ByteBufHolder 
           retain在界面 
            LastStompContentSubframe 
           retain在界面 
            StompContentSubframe 
           retain在界面 
            StompFrame 
           retain在界面 
            ReferenceCounted 
           public StompFrame retain(int increment)
ReferenceCounted复制的描述 
          increment增加参考计数。 
          retain在界面 
            ByteBufHolder 
           retain ,界面 
            LastStompContentSubframe 
           retain ,界面 
            StompContentSubframe 
           retain在界面 
            StompFrame 
           retain ,界面 
            ReferenceCounted 
           public StompFrame touch()
ReferenceCounted 
          touch在界面 
            ByteBufHolder 
           touch在界面 
            LastStompContentSubframe 
           touch在界面 
            StompContentSubframe 
           touch在界面 
            StompFrame 
           touch在界面 
            ReferenceCounted 
           public StompFrame touch(java.lang.Object hint)
ReferenceCounted 
          ResourceLeakDetector提供给您。 
          touch接口 
            ByteBufHolder 
           touch ,界面 
            LastStompContentSubframe 
           touch在界面 
            StompContentSubframe 
           touch在界面 
            StompFrame 
           touch在界面 
            ReferenceCounted 
           public boolean release()
ReferenceCounted 
          1并且如果所述引用计数达到在将释放该对象 
           0 。 
          release在界面 
            ReferenceCounted 
           true当且仅当引用计数变为 
            0且此对象已被释放 
           public boolean release(int decrement)
ReferenceCounted 
          decrement并且如果所述引用计数达到在将释放该对象 
           0 。 
          release在界面 
            ReferenceCounted 
           true当且仅当引用计数变为 
            0且此对象已被释放 
           public java.lang.String toString()
toString在课堂上 
            DefaultStompHeadersSubframe 
           Copyright © 2008–2018 The Netty Project. All rights reserved.