public class TransactionMarshaller extends java.lang.Object implements MessageMarshaller<Transaction>
MessageMarshaller.ProtoStreamReader, MessageMarshaller.ProtoStreamWriter| Constructor and Description |
|---|
TransactionMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends Transaction> |
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.
|
Transaction |
readFrom(MessageMarshaller.ProtoStreamReader reader) |
void |
writeTo(MessageMarshaller.ProtoStreamWriter writer,
Transaction transaction) |
public java.lang.String getTypeName()
BaseMarshallergetTypeName in interface BaseMarshaller<Transaction>public java.lang.Class<? extends Transaction> getJavaClass()
BaseMarshallergetJavaClass in interface BaseMarshaller<Transaction>public Transaction readFrom(MessageMarshaller.ProtoStreamReader reader) throws java.io.IOException
readFrom in interface MessageMarshaller<Transaction>java.io.IOExceptionpublic void writeTo(MessageMarshaller.ProtoStreamWriter writer, Transaction transaction) throws java.io.IOException
writeTo in interface MessageMarshaller<Transaction>java.io.IOException