Package org.apache.activemq.protobuf
package org.apache.activemq.protobuf
-
ClassDescriptionBaseMessage<T>Very similar to the java.io.ByteArrayInputStream but this version is not thread safe.Very similar to the java.io.ByteArrayOutputStream but this version is not thread safe and the resulting data is returned in a Buffer to avoid an extra byte[] allocation.Reads and decodes protocol message fields.Encodes and writes protocol message fields.Thrown when a protocol message being parsed is invalid in some way, e.g. it contains a malformed varint or a negative byte length.Message<T>MessageBuffer<B, MB extends MessageBuffer>PBMessage<Bean, Buffer extends MessageBuffer>Thrown when attempting to build a protocol message that is missing required fields.This class is used internally by the Protocol Buffer library and generated message implementations.