org.apache.activemq.kaha
Class CommandMarshaller

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

public class CommandMarshaller
extends Object
implements Marshaller<Object>

Marshall a Message or a MessageReference


Constructor Summary
CommandMarshaller()
           
CommandMarshaller(WireFormat wireFormat)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandMarshaller

public CommandMarshaller(WireFormat wireFormat)

CommandMarshaller

public CommandMarshaller()
Method Detail

writePayload

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

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

readPayload

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

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


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