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

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

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


Method Summary
 QueueEntryPB.Bean copy()
           
 boolean equals(Object obj)
           
 boolean equals(QueueEntryPB.Buffer obj)
           
 QueueEntryPB.Buffer freeze()
           
 boolean frozen()
           
 org.fusesource.hawtbuf.Buffer getAttachment()
           
 long getExpiration()
           
 long getMessageKey()
           
 org.fusesource.hawtbuf.Buffer getMessageLocator()
           
 long getQueueKey()
           
 long getQueueSeq()
           
 int getRedeliveries()
           
 org.fusesource.hawtbuf.Buffer getSender(int index)
           
 int getSenderCount()
           
 List<org.fusesource.hawtbuf.Buffer> getSenderList()
           
 int getSize()
           
 boolean hasAttachment()
           
 boolean hasExpiration()
           
 int hashCode()
           
 boolean hasMessageKey()
           
 boolean hasMessageLocator()
           
 boolean hasQueueKey()
           
 boolean hasQueueSeq()
           
 boolean hasRedeliveries()
           
 boolean hasSender()
           
 boolean hasSize()
           
 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 QueueEntryPB.Bean copy()
Specified by:
copy in interface QueueEntryPB.Getter
Specified by:
copy in interface org.fusesource.hawtbuf.proto.PBMessage<QueueEntryPB.Bean,QueueEntryPB.Buffer>

freeze

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

toString

public String toString()
Overrides:
toString in class Object

toString

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

hasQueueKey

public boolean hasQueueKey()
Specified by:
hasQueueKey in interface QueueEntryPB.Getter

getQueueKey

public long getQueueKey()
Specified by:
getQueueKey in interface QueueEntryPB.Getter

hasQueueSeq

public boolean hasQueueSeq()
Specified by:
hasQueueSeq in interface QueueEntryPB.Getter

getQueueSeq

public long getQueueSeq()
Specified by:
getQueueSeq in interface QueueEntryPB.Getter

hasMessageKey

public boolean hasMessageKey()
Specified by:
hasMessageKey in interface QueueEntryPB.Getter

getMessageKey

public long getMessageKey()
Specified by:
getMessageKey in interface QueueEntryPB.Getter

hasSize

public boolean hasSize()
Specified by:
hasSize in interface QueueEntryPB.Getter

getSize

public int getSize()
Specified by:
getSize in interface QueueEntryPB.Getter

hasAttachment

public boolean hasAttachment()
Specified by:
hasAttachment in interface QueueEntryPB.Getter

getAttachment

public org.fusesource.hawtbuf.Buffer getAttachment()
Specified by:
getAttachment in interface QueueEntryPB.Getter

hasRedeliveries

public boolean hasRedeliveries()
Specified by:
hasRedeliveries in interface QueueEntryPB.Getter

getRedeliveries

public int getRedeliveries()
Specified by:
getRedeliveries in interface QueueEntryPB.Getter

hasExpiration

public boolean hasExpiration()
Specified by:
hasExpiration in interface QueueEntryPB.Getter

getExpiration

public long getExpiration()
Specified by:
getExpiration in interface QueueEntryPB.Getter

hasMessageLocator

public boolean hasMessageLocator()
Specified by:
hasMessageLocator in interface QueueEntryPB.Getter

getMessageLocator

public org.fusesource.hawtbuf.Buffer getMessageLocator()
Specified by:
getMessageLocator in interface QueueEntryPB.Getter

hasSender

public boolean hasSender()
Specified by:
hasSender in interface QueueEntryPB.Getter

getSenderList

public List<org.fusesource.hawtbuf.Buffer> getSenderList()
Specified by:
getSenderList in interface QueueEntryPB.Getter

getSenderCount

public int getSenderCount()
Specified by:
getSenderCount in interface QueueEntryPB.Getter

getSender

public org.fusesource.hawtbuf.Buffer getSender(int index)
Specified by:
getSender in interface QueueEntryPB.Getter

toUnframedBuffer

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

toFramedBuffer

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

toUnframedByteArray

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

toFramedByteArray

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

writeFramed

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

writeFramed

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

writeUnframed

public void writeUnframed(OutputStream output)
                   throws IOException
Specified by:
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<QueueEntryPB.Bean,QueueEntryPB.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<QueueEntryPB.Bean,QueueEntryPB.Buffer>
Throws:
IOException

serializedSizeFramed

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

serializedSizeUnframed

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

equals

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

equals

public boolean equals(QueueEntryPB.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<QueueEntryPB.Bean,QueueEntryPB.Buffer>


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