org.apache.activemq.kaha
Class MessageIdMarshaller

java.lang.Object
  extended by org.apache.activemq.kaha.MessageIdMarshaller
All Implemented Interfaces:
Marshaller<MessageId>

public class MessageIdMarshaller
extends Object
implements Marshaller<MessageId>

Implementation of a Marshaller for MessageIds


Constructor Summary
MessageIdMarshaller()
           
 
Method Summary
 MessageId readPayload(DataInput dataIn)
          Read the entry from the RawContainer
 void writePayload(MessageId object, DataOutput dataOut)
          Write the payload of this entry to the RawContainer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageIdMarshaller

public MessageIdMarshaller()
Method Detail

writePayload

public void writePayload(MessageId object,
                         DataOutput dataOut)
                  throws IOException
Write the payload of this entry to the RawContainer

Specified by:
writePayload in interface Marshaller<MessageId>
Parameters:
object -
dataOut -
Throws:
IOException

readPayload

public MessageId readPayload(DataInput dataIn)
                      throws IOException
Read the entry from the RawContainer

Specified by:
readPayload in interface Marshaller<MessageId>
Parameters:
dataIn -
Returns:
unmarshalled object
Throws:
IOException


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.