org.apache.activemq.kaha
Interface Marshaller

All Known Implementing Classes:
AtomicIntegerMarshaller, BytesMarshaller, CommandMarshaller, ConsumerMessageRefMarshaller, ObjectMarshaller, StoreEntryMarshaller, StringMarshaller, TopicSubAckMarshaller, TransactionMarshaller

public interface Marshaller

Marshaller for marshalling in/out objects to a RawContainer

Version:
$Revision: 1.2 $

Method Summary
 Object readPayload(DataInput dataIn)
          Read the entry from the RawContainer
 void writePayload(Object object, DataOutput dataOut)
          Write the payload of this entry to the RawContainer
 

Method Detail

writePayload

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

Parameters:
object -
dataOut -
Throws:
IOException

readPayload

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

Parameters:
dataIn -
Returns:
unmarshalled object
Throws:
IOException


Copyright © 2011 Apache Software Foundation. All Rights Reserved.