public class TransactionMarshaller extends Object implements MessageMarshaller<Transaction>
MessageMarshaller.ProtoStreamReader, MessageMarshaller.ProtoStreamWriter
Constructor and Description |
---|
TransactionMarshaller() |
Modifier and Type | Method and Description |
---|---|
Class<? extends Transaction> |
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.
|
Transaction |
readFrom(MessageMarshaller.ProtoStreamReader reader) |
void |
writeTo(MessageMarshaller.ProtoStreamWriter writer,
Transaction transaction) |
public String getTypeName()
BaseMarshaller
getTypeName
in interface BaseMarshaller<Transaction>
public Class<? extends Transaction> getJavaClass()
BaseMarshaller
getJavaClass
in interface BaseMarshaller<Transaction>
public Transaction readFrom(MessageMarshaller.ProtoStreamReader reader) throws IOException
readFrom
in interface MessageMarshaller<Transaction>
IOException
public void writeTo(MessageMarshaller.ProtoStreamWriter writer, Transaction transaction) throws IOException
writeTo
in interface MessageMarshaller<Transaction>
IOException
Copyright © 2022 JBoss, a division of Red Hat. All rights reserved.