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