Class ProtobufSerializationProvider

  • All Implemented Interfaces:
    SerializationProvider

    public final class ProtobufSerializationProvider
    extends java.lang.Object
    implements SerializationProvider
    A SerializationProvider for serializing/deserializing protocol buffer objects. Note: This implementation assumes byte streams represent a single message. This implementation currently uses writeTo/parseFrom and not writeDelimitedTo/parseDelimitedFrom to serialize/deserialize messages. It cannot be used to process a stream of delimited messages on a single Buffer.