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
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 TypeMethodDescriptionorg.infinispan.protostream.descriptors.WireTypeReturns the wire type of the scalar value written by this marshaller.Methods inherited from interface org.wildfly.clustering.marshalling.protostream.Marshallable
getJavaClass, size
-
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.
-