Class GeneratedMarshallerBase
- java.lang.Object
-
- org.infinispan.protostream.annotations.impl.GeneratedMarshallerBase
-
- Direct Known Subclasses:
CounterConfiguration$___Marshaller_200ccbe7f9bd55cd3d0f90bae5ea29adc0a29590c936038020329c50ede7e29f,CounterValue$___Marshaller_6ab5201133840629eb172e42cdf5d3a4375120da429274c838069a25aba775b9,KeyValueWithPrevious$___Marshaller_9145896a24b67e12a03ab245b027743214e8f0a00cff4e94594e6701c8f07ff1,MediaType$___Marshaller_f2fc301543ca54d0326b5d8ce3b7199226a678253252e7ac46f1fad54bd90568,NullValue$___Marshaller_a83283d4dbbe8b8520f457699d99f19344b973d04786829de1e22c08915e6e56,StrongCounterKey$___Marshaller_7b60cadcd7a3ce2ea1e9b7f18578345047d9a4d4bceed7f91ab7f28ade5968e7,WeakCounterKey$___Marshaller_ecc3ac4efb216fd1f64f29c92ff5068b43cb9769af31d8afc555d56f0b476e02,WrappedByteArray$___Marshaller_dd5f1f82b70f419159a02b94c2ffa39a035efa36bc3f94e3bec8f1fb78d5e078
public class GeneratedMarshallerBase extends Object
Base class for generated message marshallers. Provides some handy helper methods.- Since:
- 3.0
- Author:
- anistor@redhat.com
-
-
Constructor Summary
Constructors Constructor Description GeneratedMarshallerBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> TreadMessage(BaseMarshallerDelegate<T> marshallerDelegate, ProtobufTagMarshaller.ReadContext ctx)Invoked by generated code.protected <T> voidwriteMessage(BaseMarshallerDelegate<T> marshallerDelegate, ProtobufTagMarshaller.WriteContext ctx, T message)Invoked by generated code.protected <T> voidwriteNestedMessage(BaseMarshallerDelegate<T> marshallerDelegate, ProtobufTagMarshaller.WriteContext ctx, int fieldNumber, T message)Invoked by generated code.
-
-
-
Method Detail
-
readMessage
protected final <T> T readMessage(BaseMarshallerDelegate<T> marshallerDelegate, ProtobufTagMarshaller.ReadContext ctx) throws IOException
Invoked by generated code.- Throws:
IOException
-
writeMessage
protected final <T> void writeMessage(BaseMarshallerDelegate<T> marshallerDelegate, ProtobufTagMarshaller.WriteContext ctx, T message) throws IOException
Invoked by generated code.- Throws:
IOException
-
writeNestedMessage
protected final <T> void writeNestedMessage(BaseMarshallerDelegate<T> marshallerDelegate, ProtobufTagMarshaller.WriteContext ctx, int fieldNumber, T message) throws IOException
Invoked by generated code.- Throws:
IOException
-
-