org.apache.activemq.store.kahadaptor
Class AMQTxMarshaller

java.lang.Object
  extended by org.apache.activemq.store.kahadaptor.AMQTxMarshaller
All Implemented Interfaces:
Marshaller<AMQTx>

public class AMQTxMarshaller
extends Object
implements Marshaller<AMQTx>

Marshall an AMQTx


Constructor Summary
AMQTxMarshaller(WireFormat wireFormat)
           
 
Method Summary
 AMQTx readPayload(DataInput dataIn)
          Read the entry from the RawContainer
 void writePayload(AMQTx amqtx, 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

AMQTxMarshaller

public AMQTxMarshaller(WireFormat wireFormat)
Method Detail

readPayload

public AMQTx readPayload(DataInput dataIn)
                  throws IOException
Description copied from interface: Marshaller
Read the entry from the RawContainer

Specified by:
readPayload in interface Marshaller<AMQTx>
Returns:
unmarshalled object
Throws:
IOException

writePayload

public void writePayload(AMQTx amqtx,
                         DataOutput dataOut)
                  throws IOException
Description copied from interface: Marshaller
Write the payload of this entry to the RawContainer

Specified by:
writePayload in interface Marshaller<AMQTx>
Throws:
IOException


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