org.apache.activemq.protobuf
Interface MessageBuffer<B,MB extends MessageBuffer>

All Superinterfaces:
PBMessage<B,MB>

public interface MessageBuffer<B,MB extends MessageBuffer>
extends PBMessage<B,MB>


Method Summary
 int serializedSizeFramed()
           
 int serializedSizeUnframed()
           
 Buffer toFramedBuffer()
           
 byte[] toFramedByteArray()
           
 Buffer toUnframedBuffer()
           
 byte[] toUnframedByteArray()
           
 void writeFramed(CodedOutputStream output)
           
 void writeFramed(java.io.OutputStream output)
           
 void writeUnframed(CodedOutputStream output)
           
 void writeUnframed(java.io.OutputStream output)
           
 
Methods inherited from interface org.apache.activemq.protobuf.PBMessage
copy, freeze, frozen
 

Method Detail

serializedSizeUnframed

int serializedSizeUnframed()

serializedSizeFramed

int serializedSizeFramed()

toUnframedBuffer

Buffer toUnframedBuffer()

toFramedBuffer

Buffer toFramedBuffer()

toUnframedByteArray

byte[] toUnframedByteArray()

toFramedByteArray

byte[] toFramedByteArray()

writeUnframed

void writeUnframed(CodedOutputStream output)
                   throws java.io.IOException
Throws:
java.io.IOException

writeFramed

void writeFramed(CodedOutputStream output)
                 throws java.io.IOException
Throws:
java.io.IOException

writeUnframed

void writeUnframed(java.io.OutputStream output)
                   throws java.io.IOException
Throws:
java.io.IOException

writeFramed

void writeFramed(java.io.OutputStream output)
                 throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2011 Apache Software Foundation. All Rights Reserved.