public interface MessageMarshaller<T> extends BaseMarshaller<T>
Modifier and Type | Interface and Description |
---|---|
static interface |
MessageMarshaller.ProtoStreamReader
An high-level interface for the wire encoding of a protobuf stream that allows reading named and typed message
fields.
|
static interface |
MessageMarshaller.ProtoStreamWriter
An high-level interface for the wire encoding of a protobuf stream that allows writing named and typed message
fields.
|
Modifier and Type | Method and Description |
---|---|
T |
readFrom(MessageMarshaller.ProtoStreamReader reader) |
void |
writeTo(MessageMarshaller.ProtoStreamWriter writer,
T t) |
getJavaClass, getTypeName
T readFrom(MessageMarshaller.ProtoStreamReader reader) throws IOException
IOException
void writeTo(MessageMarshaller.ProtoStreamWriter writer, T t) throws IOException
IOException
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.