Class DefaultProtoStreamWriter

  • All Implemented Interfaces:
    org.infinispan.protostream.ProtobufTagMarshaller.OperationContext, org.infinispan.protostream.ProtobufTagMarshaller.WriteContext, org.infinispan.protostream.RawProtoStreamWriter, org.infinispan.protostream.TagWriter, ProtoStreamOperation, ProtoStreamWriter

    public class DefaultProtoStreamWriter
    extends AbstractProtoStreamWriter
    ProtoStreamWriter implementation that writes to a CodedOutputStream.
    Author:
    Paul Ferraro
    • Constructor Detail

      • DefaultProtoStreamWriter

        public DefaultProtoStreamWriter​(org.infinispan.protostream.ProtobufTagMarshaller.WriteContext context)
    • Method Detail

      • writeObjectNoTag

        public void writeObjectNoTag​(Object value)
                              throws IOException
        Description copied from interface: ProtoStreamWriter
        Writes the specified object. Must be preceded by {TagWriter.writeTag(int, org.infinispan.protostream.descriptors.WireType).
        Parameters:
        value - a value to be written
        Throws:
        IOException - if no marshaller is associated with the type of the specified object, or if the marshaller fails to write the specified object