Package org.infinispan.protostream
Interface RawProtobufMarshaller<T>
-
- All Superinterfaces:
BaseMarshaller<T>
,ProtobufTagMarshaller<T>
@Deprecated public interface RawProtobufMarshaller<T> extends ProtobufTagMarshaller<T>
Deprecated.replaced byProtobufTagMarshaller
. To be removed in version 5.A marshaller for message types that has direct access to the low level Protobuf streams to read and write tags in an unchecked manner. Cannot be used for enums. The access is not verified against a Protobuf definition as it would normally happen in case ofMessageMarshaller
. This is usually used to provide more flexible or generic marshallers, not tied to a specific schema.- Since:
- 1.0
- Author:
- [email protected]
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.infinispan.protostream.ProtobufTagMarshaller
ProtobufTagMarshaller.OperationContext, ProtobufTagMarshaller.ReadContext, ProtobufTagMarshaller.WriteContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default T
read(ProtobufTagMarshaller.ReadContext ctx)
Deprecated.T
readFrom(ImmutableSerializationContext ctx, RawProtoStreamReader in)
Deprecated.default void
write(ProtobufTagMarshaller.WriteContext ctx, T t)
Deprecated.void
writeTo(ImmutableSerializationContext ctx, RawProtoStreamWriter out, T t)
Deprecated.-
Methods inherited from interface org.infinispan.protostream.BaseMarshaller
getJavaClass, getTypeName
-
-
-
-
Method Detail
-
readFrom
T readFrom(ImmutableSerializationContext ctx, RawProtoStreamReader in) throws IOException
Deprecated.- Throws:
IOException
-
writeTo
void writeTo(ImmutableSerializationContext ctx, RawProtoStreamWriter out, T t) throws IOException
Deprecated.- Throws:
IOException
-
read
default T read(ProtobufTagMarshaller.ReadContext ctx) throws IOException
Deprecated.- Specified by:
read
in interfaceProtobufTagMarshaller<T>
- Throws:
IOException
-
write
default void write(ProtobufTagMarshaller.WriteContext ctx, T t) throws IOException
Deprecated.- Specified by:
write
in interfaceProtobufTagMarshaller<T>
- Throws:
IOException
-
-