public static final class WrappedMessage.Marshaller extends java.lang.Object implements RawProtobufMarshaller<WrappedMessage>
| Constructor and Description |
|---|
Marshaller() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends WrappedMessage> |
getJavaClass()
Returns the Java type handled by this marshaller.
|
java.lang.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 java.lang.Class<? extends WrappedMessage> getJavaClass()
BaseMarshallergetJavaClass in interface BaseMarshaller<WrappedMessage>public java.lang.String getTypeName()
BaseMarshallergetTypeName in interface BaseMarshaller<WrappedMessage>public WrappedMessage readFrom(SerializationContext ctx, RawProtoStreamReader in) throws java.io.IOException
readFrom in interface RawProtobufMarshaller<WrappedMessage>java.io.IOExceptionpublic void writeTo(SerializationContext ctx, RawProtoStreamWriter out, WrappedMessage wrappedMessage) throws java.io.IOException
writeTo in interface RawProtobufMarshaller<WrappedMessage>java.io.IOException