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

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

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


Method Summary
 MessagePB.Bean copy()
           
 boolean equals(MessagePB.Buffer obj)
           
 boolean equals(Object obj)
           
 MessagePB.Buffer freeze()
           
 boolean frozen()
           
 org.fusesource.hawtbuf.AsciiBuffer getCodec()
           
 int getCompression()
           
 org.fusesource.hawtbuf.Buffer getDirectData()
           
 org.fusesource.hawtbuf.Buffer getDirectFile()
           
 long getDirectOffset()
           
 int getDirectSize()
           
 long getExpiration()
           
 long getMessageKey()
           
 int getSize()
           
 org.fusesource.hawtbuf.Buffer getValue()
           
 boolean hasCodec()
           
 boolean hasCompression()
           
 boolean hasDirectData()
           
 boolean hasDirectFile()
           
 boolean hasDirectOffset()
           
 boolean hasDirectSize()
           
 boolean hasExpiration()
           
 int hashCode()
           
 boolean hasMessageKey()
           
 boolean hasSize()
           
 boolean hasValue()
           
 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 MessagePB.Bean copy()
Specified by:
copy in interface MessagePB.Getter
Specified by:
copy in interface org.fusesource.hawtbuf.proto.PBMessage<MessagePB.Bean,MessagePB.Buffer>

freeze

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

toString

public String toString()
Overrides:
toString in class Object

toString

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

hasMessageKey

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

getMessageKey

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

hasCodec

public boolean hasCodec()
Specified by:
hasCodec in interface MessagePB.Getter

getCodec

public org.fusesource.hawtbuf.AsciiBuffer getCodec()
Specified by:
getCodec in interface MessagePB.Getter

hasSize

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

getSize

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

hasValue

public boolean hasValue()
Specified by:
hasValue in interface MessagePB.Getter

getValue

public org.fusesource.hawtbuf.Buffer getValue()
Specified by:
getValue in interface MessagePB.Getter

hasExpiration

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

getExpiration

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

hasCompression

public boolean hasCompression()
Specified by:
hasCompression in interface MessagePB.Getter

getCompression

public int getCompression()
Specified by:
getCompression in interface MessagePB.Getter

hasDirectData

public boolean hasDirectData()
Specified by:
hasDirectData in interface MessagePB.Getter

getDirectData

public org.fusesource.hawtbuf.Buffer getDirectData()
Specified by:
getDirectData in interface MessagePB.Getter

hasDirectFile

public boolean hasDirectFile()
Specified by:
hasDirectFile in interface MessagePB.Getter

getDirectFile

public org.fusesource.hawtbuf.Buffer getDirectFile()
Specified by:
getDirectFile in interface MessagePB.Getter

hasDirectOffset

public boolean hasDirectOffset()
Specified by:
hasDirectOffset in interface MessagePB.Getter

getDirectOffset

public long getDirectOffset()
Specified by:
getDirectOffset in interface MessagePB.Getter

hasDirectSize

public boolean hasDirectSize()
Specified by:
hasDirectSize in interface MessagePB.Getter

getDirectSize

public int getDirectSize()
Specified by:
getDirectSize in interface MessagePB.Getter

toUnframedBuffer

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

toFramedBuffer

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

toUnframedByteArray

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

toFramedByteArray

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

writeFramed

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

writeFramed

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

writeUnframed

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

serializedSizeFramed

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

serializedSizeUnframed

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

equals

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

equals

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


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.