org.apache.activemq.console.command.store.proto
Class QueuePB.Buffer

java.lang.Object
  extended by org.apache.activemq.console.command.store.proto.QueuePB.Buffer
All Implemented Interfaces:
QueuePB.Getter, org.fusesource.hawtbuf.proto.MessageBuffer<QueuePB.Bean,QueuePB.Buffer>, org.fusesource.hawtbuf.proto.PBMessage<QueuePB.Bean,QueuePB.Buffer>
Enclosing class:
QueuePB

public static final class QueuePB.Buffer
extends Object
implements org.fusesource.hawtbuf.proto.MessageBuffer<QueuePB.Bean,QueuePB.Buffer>, QueuePB.Getter


Method Summary
 QueuePB.Bean copy()
           
 boolean equals(Object obj)
           
 boolean equals(QueuePB.Buffer obj)
           
 QueuePB.Buffer freeze()
           
 boolean frozen()
           
 org.fusesource.hawtbuf.Buffer getBindingData()
           
 org.fusesource.hawtbuf.AsciiBuffer getBindingKind()
           
 long getKey()
           
 boolean hasBindingData()
           
 boolean hasBindingKind()
           
 int hashCode()
           
 boolean hasKey()
           
 int serializedSizeFramed()
           
 int serializedSizeUnframed()
           
 org.fusesource.hawtbuf.Buffer toFramedBuffer()
           
 byte[] toFramedByteArray()
           
 String toString()
           
 StringBuilder toString(StringBuilder sb, String prefix)
           
 org.fusesource.hawtbuf.Buffer toUnframedBuffer()
           
 byte[] toUnframedByteArray()
           
 void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
           
 void writeFramed(OutputStream output)
           
 void writeUnframed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
           
 void writeUnframed(OutputStream output)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

copy

public QueuePB.Bean copy()
Specified by:
copy in interface QueuePB.Getter
Specified by:
copy in interface org.fusesource.hawtbuf.proto.PBMessage<QueuePB.Bean,QueuePB.Buffer>

freeze

public QueuePB.Buffer freeze()
Specified by:
freeze in interface QueuePB.Getter
Specified by:
freeze in interface org.fusesource.hawtbuf.proto.PBMessage<QueuePB.Bean,QueuePB.Buffer>

toString

public String toString()
Overrides:
toString in class Object

toString

public StringBuilder toString(StringBuilder sb,
                              String prefix)
Specified by:
toString in interface QueuePB.Getter

hasKey

public boolean hasKey()
Specified by:
hasKey in interface QueuePB.Getter

getKey

public long getKey()
Specified by:
getKey in interface QueuePB.Getter

hasBindingKind

public boolean hasBindingKind()
Specified by:
hasBindingKind in interface QueuePB.Getter

getBindingKind

public org.fusesource.hawtbuf.AsciiBuffer getBindingKind()
Specified by:
getBindingKind in interface QueuePB.Getter

hasBindingData

public boolean hasBindingData()
Specified by:
hasBindingData in interface QueuePB.Getter

getBindingData

public org.fusesource.hawtbuf.Buffer getBindingData()
Specified by:
getBindingData in interface QueuePB.Getter

toUnframedBuffer

public org.fusesource.hawtbuf.Buffer toUnframedBuffer()
Specified by:
toUnframedBuffer in interface org.fusesource.hawtbuf.proto.MessageBuffer<QueuePB.Bean,QueuePB.Buffer>

toFramedBuffer

public org.fusesource.hawtbuf.Buffer toFramedBuffer()
Specified by:
toFramedBuffer in interface org.fusesource.hawtbuf.proto.MessageBuffer<QueuePB.Bean,QueuePB.Buffer>

toUnframedByteArray

public byte[] toUnframedByteArray()
Specified by:
toUnframedByteArray in interface org.fusesource.hawtbuf.proto.MessageBuffer<QueuePB.Bean,QueuePB.Buffer>

toFramedByteArray

public byte[] toFramedByteArray()
Specified by:
toFramedByteArray in interface org.fusesource.hawtbuf.proto.MessageBuffer<QueuePB.Bean,QueuePB.Buffer>

writeFramed

public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
                 throws IOException
Specified by:
writeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<QueuePB.Bean,QueuePB.Buffer>
Throws:
IOException

writeFramed

public void writeFramed(OutputStream output)
                 throws IOException
Specified by:
writeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<QueuePB.Bean,QueuePB.Buffer>
Throws:
IOException

writeUnframed

public void writeUnframed(OutputStream output)
                   throws IOException
Specified by:
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<QueuePB.Bean,QueuePB.Buffer>
Throws:
IOException

writeUnframed

public void writeUnframed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
                   throws IOException
Specified by:
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<QueuePB.Bean,QueuePB.Buffer>
Throws:
IOException

serializedSizeFramed

public int serializedSizeFramed()
Specified by:
serializedSizeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<QueuePB.Bean,QueuePB.Buffer>

serializedSizeUnframed

public int serializedSizeUnframed()
Specified by:
serializedSizeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<QueuePB.Bean,QueuePB.Buffer>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

equals

public boolean equals(QueuePB.Buffer obj)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

frozen

public boolean frozen()
Specified by:
frozen in interface org.fusesource.hawtbuf.proto.PBMessage<QueuePB.Bean,QueuePB.Buffer>


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.