public class MessageMarshaller extends Object implements Marshaller<Message>
Constructor and Description |
---|
MessageMarshaller(WireFormat wireFormat)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Message |
readPayload(DataInput dataIn)
Read the entry from the RawContainer
|
void |
writePayload(Message message,
DataOutput dataOut)
Write the payload of this entry to the RawContainer
|
public MessageMarshaller(WireFormat wireFormat)
wireFormat
- public void writePayload(Message message, DataOutput dataOut) throws IOException
writePayload
in interface Marshaller<Message>
message
- dataOut
- IOException
public Message readPayload(DataInput dataIn) throws IOException
readPayload
in interface Marshaller<Message>
dataIn
- IOException
Copyright © 2005–2016. All rights reserved.