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() |
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()
BaseMarshaller
getTypeName
in interface BaseMarshaller<Account>
public Class<? extends Account> getJavaClass()
getJavaClass
in interface BaseMarshaller<Account>
public Account readFrom(MessageMarshaller.ProtoStreamReader reader) throws IOException
readFrom
in interface MessageMarshaller<Account>
IOException
public void writeTo(MessageMarshaller.ProtoStreamWriter writer, Account account) throws IOException
writeTo
in interface MessageMarshaller<Account>
IOException
Copyright © 2013 JBoss, a division of Red Hat. All rights reserved.