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

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

public class QueuePB
extends Object
implements org.fusesource.hawtbuf.proto.PBMessageFactory<QueuePB.Bean,QueuePB.Buffer>


Nested Class Summary
static class QueuePB.Bean
           
static class QueuePB.Buffer
           
static interface QueuePB.Getter
           
 
Field Summary
static QueuePB FACTORY
           
static org.fusesource.hawtbuf.proto.PBMessageFramedCodec<QueuePB.Buffer> FRAMED_CODEC
           
static org.fusesource.hawtbuf.proto.PBMessageUnframedCodec<QueuePB.Buffer> UNFRAMED_CODEC
           
 
Constructor Summary
QueuePB()
           
 
Method Summary
 QueuePB.Bean create()
           
 QueuePB.Buffer parseFramed(org.fusesource.hawtbuf.Buffer data)
           
 QueuePB.Buffer parseFramed(byte[] data)
           
 QueuePB.Buffer parseFramed(org.fusesource.hawtbuf.proto.CodedInputStream data)
           
 QueuePB.Buffer parseFramed(InputStream data)
           
 QueuePB.Buffer parseUnframed(org.fusesource.hawtbuf.Buffer data)
           
 QueuePB.Buffer parseUnframed(byte[] data)
           
 QueuePB.Bean parseUnframed(org.fusesource.hawtbuf.proto.CodedInputStream data)
           
 QueuePB.Bean parseUnframed(InputStream data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FACTORY

public static final QueuePB FACTORY

FRAMED_CODEC

public static final org.fusesource.hawtbuf.proto.PBMessageFramedCodec<QueuePB.Buffer> FRAMED_CODEC

UNFRAMED_CODEC

public static final org.fusesource.hawtbuf.proto.PBMessageUnframedCodec<QueuePB.Buffer> UNFRAMED_CODEC
Constructor Detail

QueuePB

public QueuePB()
Method Detail

create

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

parseUnframed

public QueuePB.Bean parseUnframed(org.fusesource.hawtbuf.proto.CodedInputStream data)
                           throws org.fusesource.hawtbuf.proto.InvalidProtocolBufferException,
                                  IOException
Specified by:
parseUnframed in interface org.fusesource.hawtbuf.proto.PBMessageFactory<QueuePB.Bean,QueuePB.Buffer>
Throws:
org.fusesource.hawtbuf.proto.InvalidProtocolBufferException
IOException

parseUnframed

public QueuePB.Bean parseUnframed(InputStream data)
                           throws org.fusesource.hawtbuf.proto.InvalidProtocolBufferException,
                                  IOException
Specified by:
parseUnframed in interface org.fusesource.hawtbuf.proto.PBMessageFactory<QueuePB.Bean,QueuePB.Buffer>
Throws:
org.fusesource.hawtbuf.proto.InvalidProtocolBufferException
IOException

parseUnframed

public QueuePB.Buffer parseUnframed(org.fusesource.hawtbuf.Buffer data)
                             throws org.fusesource.hawtbuf.proto.InvalidProtocolBufferException
Specified by:
parseUnframed in interface org.fusesource.hawtbuf.proto.PBMessageFactory<QueuePB.Bean,QueuePB.Buffer>
Throws:
org.fusesource.hawtbuf.proto.InvalidProtocolBufferException

parseUnframed

public QueuePB.Buffer parseUnframed(byte[] data)
                             throws org.fusesource.hawtbuf.proto.InvalidProtocolBufferException
Specified by:
parseUnframed in interface org.fusesource.hawtbuf.proto.PBMessageFactory<QueuePB.Bean,QueuePB.Buffer>
Throws:
org.fusesource.hawtbuf.proto.InvalidProtocolBufferException

parseFramed

public QueuePB.Buffer parseFramed(org.fusesource.hawtbuf.proto.CodedInputStream data)
                           throws org.fusesource.hawtbuf.proto.InvalidProtocolBufferException,
                                  IOException
Specified by:
parseFramed in interface org.fusesource.hawtbuf.proto.PBMessageFactory<QueuePB.Bean,QueuePB.Buffer>
Throws:
org.fusesource.hawtbuf.proto.InvalidProtocolBufferException
IOException

parseFramed

public QueuePB.Buffer parseFramed(org.fusesource.hawtbuf.Buffer data)
                           throws org.fusesource.hawtbuf.proto.InvalidProtocolBufferException
Specified by:
parseFramed in interface org.fusesource.hawtbuf.proto.PBMessageFactory<QueuePB.Bean,QueuePB.Buffer>
Throws:
org.fusesource.hawtbuf.proto.InvalidProtocolBufferException

parseFramed

public QueuePB.Buffer parseFramed(byte[] data)
                           throws org.fusesource.hawtbuf.proto.InvalidProtocolBufferException
Specified by:
parseFramed in interface org.fusesource.hawtbuf.proto.PBMessageFactory<QueuePB.Bean,QueuePB.Buffer>
Throws:
org.fusesource.hawtbuf.proto.InvalidProtocolBufferException

parseFramed

public QueuePB.Buffer parseFramed(InputStream data)
                           throws org.fusesource.hawtbuf.proto.InvalidProtocolBufferException,
                                  IOException
Specified by:
parseFramed in interface org.fusesource.hawtbuf.proto.PBMessageFactory<QueuePB.Bean,QueuePB.Buffer>
Throws:
org.fusesource.hawtbuf.proto.InvalidProtocolBufferException
IOException


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