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