org.apache.activemq.openwire.v7
Class ActiveMQBytesMessageMarshaller

java.lang.Object
  extended by org.apache.activemq.openwire.v7.BaseDataStreamMarshaller
      extended by org.apache.activemq.openwire.v7.BaseCommandMarshaller
          extended by org.apache.activemq.openwire.v7.MessageMarshaller
              extended by org.apache.activemq.openwire.v7.ActiveMQMessageMarshaller
                  extended by org.apache.activemq.openwire.v7.ActiveMQBytesMessageMarshaller
All Implemented Interfaces:
DataStreamMarshaller

public class ActiveMQBytesMessageMarshaller
extends ActiveMQMessageMarshaller

Marshalling code for Open Wire Format for ActiveMQBytesMessageMarshaller NOTE!: This file is auto generated - do not modify! if you need to make a change, please see the modify the groovy scripts in the under src/gram/script and then use maven openwire:generate to regenerate this file.


Field Summary
 
Fields inherited from class org.apache.activemq.openwire.v7.BaseDataStreamMarshaller
STACK_TRACE_ELEMENT_CONSTRUCTOR
 
Constructor Summary
ActiveMQBytesMessageMarshaller()
           
 
Method Summary
 DataStructure createObject()
           
 byte getDataStructureType()
          Return the type of Data Structure we marshal
 void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut)
          Write the booleans that this object uses to a BooleanStream
 void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn)
          Un-marshal an object instance from the data input stream
 int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
          Write the booleans that this object uses to a BooleanStream
 void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs)
          Write a object instance to data output stream
 void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs)
          Un-marshal an object instance from the data input stream
 
Methods inherited from class org.apache.activemq.openwire.v7.BaseDataStreamMarshaller
looseMarshalByteArray, looseMarshalByteSequence, looseMarshalCachedObject, looseMarshalConstByteArray, looseMarshalLong, looseMarshalNestedObject, looseMarshalObjectArray, looseMarshalString, looseMarshalThrowable, looseUnmarsalCachedObject, looseUnmarsalNestedObject, looseUnmarsalThrowable, looseUnmarshalByteArray, looseUnmarshalByteSequence, looseUnmarshalConstByteArray, looseUnmarshalLong, looseUnmarshalString, tightMarshalByteArray1, tightMarshalByteArray2, tightMarshalByteSequence1, tightMarshalByteSequence2, tightMarshalCachedObject1, tightMarshalCachedObject2, tightMarshalConstByteArray1, tightMarshalConstByteArray2, tightMarshalLong1, tightMarshalLong2, tightMarshalNestedObject1, tightMarshalNestedObject2, tightMarshalObjectArray1, tightMarshalObjectArray2, tightMarshalString1, tightMarshalString2, tightMarshalThrowable1, tightMarshalThrowable2, tightUnmarsalCachedObject, tightUnmarsalNestedObject, tightUnmarsalThrowable, tightUnmarshalByteArray, tightUnmarshalByteSequence, tightUnmarshalConstByteArray, tightUnmarshalLong, tightUnmarshalString, toLong, toLong
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActiveMQBytesMessageMarshaller

public ActiveMQBytesMessageMarshaller()
Method Detail

getDataStructureType

public byte getDataStructureType()
Return the type of Data Structure we marshal

Specified by:
getDataStructureType in interface DataStreamMarshaller
Overrides:
getDataStructureType in class ActiveMQMessageMarshaller
Returns:
short representation of the type data structure

createObject

public DataStructure createObject()
Specified by:
createObject in interface DataStreamMarshaller
Overrides:
createObject in class ActiveMQMessageMarshaller
Returns:
a new object instance

tightUnmarshal

public void tightUnmarshal(OpenWireFormat wireFormat,
                           Object o,
                           DataInput dataIn,
                           BooleanStream bs)
                    throws IOException
Un-marshal an object instance from the data input stream

Specified by:
tightUnmarshal in interface DataStreamMarshaller
Overrides:
tightUnmarshal in class ActiveMQMessageMarshaller
Parameters:
o - the object to un-marshal
dataIn - the data input stream to build the object from
Throws:
IOException

tightMarshal1

public int tightMarshal1(OpenWireFormat wireFormat,
                         Object o,
                         BooleanStream bs)
                  throws IOException
Write the booleans that this object uses to a BooleanStream

Specified by:
tightMarshal1 in interface DataStreamMarshaller
Overrides:
tightMarshal1 in class ActiveMQMessageMarshaller
Throws:
IOException

tightMarshal2

public void tightMarshal2(OpenWireFormat wireFormat,
                          Object o,
                          DataOutput dataOut,
                          BooleanStream bs)
                   throws IOException
Write a object instance to data output stream

Specified by:
tightMarshal2 in interface DataStreamMarshaller
Overrides:
tightMarshal2 in class ActiveMQMessageMarshaller
Parameters:
o - the instance to be marshaled
dataOut - the output stream
Throws:
IOException - thrown if an error occurs

looseUnmarshal

public void looseUnmarshal(OpenWireFormat wireFormat,
                           Object o,
                           DataInput dataIn)
                    throws IOException
Un-marshal an object instance from the data input stream

Specified by:
looseUnmarshal in interface DataStreamMarshaller
Overrides:
looseUnmarshal in class ActiveMQMessageMarshaller
Parameters:
o - the object to un-marshal
dataIn - the data input stream to build the object from
Throws:
IOException

looseMarshal

public void looseMarshal(OpenWireFormat wireFormat,
                         Object o,
                         DataOutput dataOut)
                  throws IOException
Write the booleans that this object uses to a BooleanStream

Specified by:
looseMarshal in interface DataStreamMarshaller
Overrides:
looseMarshal in class ActiveMQMessageMarshaller
Throws:
IOException


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