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 java.lang.Object
implements Marshaller<MessageId>

Implementation of a Marshaller for MessageIds


Constructor Summary
MessageIdMarshaller()
           
 
Method Summary
 MessageId readPayload(java.io.DataInput dataIn)
          Read the entry from the RawContainer
 void writePayload(MessageId object, java.io.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,
                         java.io.DataOutput dataOut)
                  throws java.io.IOException
Write the payload of this entry to the RawContainer

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

readPayload

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

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


Copyright © 2005-2012. All Rights Reserved.