public class AccountMarshaller extends Object implements MessageMarshaller<Account>
MessageMarshaller.ProtoStreamReader, MessageMarshaller.ProtoStreamWriter| Constructor and Description |
|---|
AccountMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Account> |
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.
|
Account |
readFrom(MessageMarshaller.ProtoStreamReader reader) |
void |
writeTo(MessageMarshaller.ProtoStreamWriter writer,
Account account) |
public String getTypeName()
BaseMarshallergetTypeName in interface BaseMarshaller<Account>public Class<? extends Account> getJavaClass()
BaseMarshallergetJavaClass in interface BaseMarshaller<Account>public Account readFrom(MessageMarshaller.ProtoStreamReader reader) throws IOException
readFrom in interface MessageMarshaller<Account>IOExceptionpublic void writeTo(MessageMarshaller.ProtoStreamWriter writer, Account account) throws IOException
writeTo in interface MessageMarshaller<Account>IOExceptionCopyright © 2025 JBoss, a division of Red Hat. All rights reserved.