public static final class WrappedMessage.Marshaller extends Object implements RawProtobufMarshaller<WrappedMessage>
| Constructor and Description |
|---|
Marshaller() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends WrappedMessage> |
getJavaClass()
Returns the Java type handled by this marshaller.
|
String |
getTypeName()
Returns the full name of the message or enum type as declared in the protobuf file.
|
WrappedMessage |
readFrom(SerializationContext ctx,
RawProtoStreamReader in) |
void |
writeTo(SerializationContext ctx,
RawProtoStreamWriter out,
WrappedMessage wrappedMessage) |
public Class<? extends WrappedMessage> getJavaClass()
BaseMarshallergetJavaClass in interface BaseMarshaller<WrappedMessage>public String getTypeName()
BaseMarshallergetTypeName in interface BaseMarshaller<WrappedMessage>public WrappedMessage readFrom(SerializationContext ctx, RawProtoStreamReader in) throws IOException
readFrom in interface RawProtobufMarshaller<WrappedMessage>IOExceptionpublic void writeTo(SerializationContext ctx, RawProtoStreamWriter out, WrappedMessage wrappedMessage) throws IOException
writeTo in interface RawProtobufMarshaller<WrappedMessage>IOExceptionCopyright © 2025 JBoss, a division of Red Hat. All rights reserved.