Interface FieldMarshaller<T>

Type Parameters:
T - the type of this marshaller
All Superinterfaces:
Marshallable<T>, Readable<T>, Writable<T>
All Known Implementing Classes:
LoadedClassField, ScalarFieldMarshaller, TypedArrayMarshaller, TypedEnumMarshaller, TypedObjectMarshaller

public interface FieldMarshaller<T> extends Marshallable<T>
Marshaller for a field. Writable.writeTo(ProtoStreamWriter, Object) does not write a field tag, but may write additional tagged fields. Likewise, Readable.readFrom(ProtoStreamReader) will continue to read fields until a zero tag is reached.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    org.infinispan.protostream.descriptors.WireType
    Returns the wire type of the scalar value written by this marshaller.

    Methods inherited from interface org.wildfly.clustering.marshalling.protostream.Marshallable

    getJavaClass, size

    Methods inherited from interface org.wildfly.clustering.marshalling.protostream.Readable

    readFrom

    Methods inherited from interface org.wildfly.clustering.marshalling.protostream.Writable

    writeTo
  • Method Details

    • getWireType

      org.infinispan.protostream.descriptors.WireType getWireType()
      Returns the wire type of the scalar value written by this marshaller.
      Returns:
      the wire type of the scalar value written by this marshaller.