Package org.apache.activemq.openwire.v9
Class ActiveMQQueueMarshaller
- java.lang.Object
-
- org.apache.activemq.openwire.v9.BaseDataStreamMarshaller
-
- org.apache.activemq.openwire.v9.ActiveMQDestinationMarshaller
-
- org.apache.activemq.openwire.v9.ActiveMQQueueMarshaller
-
- All Implemented Interfaces:
DataStreamMarshaller
public class ActiveMQQueueMarshaller extends ActiveMQDestinationMarshaller
Marshalling code for Open Wire Format for ActiveMQQueueMarshaller 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.v9.BaseDataStreamMarshaller
STACK_TRACE_ELEMENT_CONSTRUCTOR
-
-
Constructor Summary
Constructors Constructor Description ActiveMQQueueMarshaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataStructurecreateObject()bytegetDataStructureType()Return the type of Data Structure we marshalvoidlooseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut)Write the booleans that this object uses to a BooleanStreamvoidlooseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn)Un-marshal an object instance from the data input streaminttightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)Write the booleans that this object uses to a BooleanStreamvoidtightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs)Write a object instance to data output streamvoidtightUnmarshal(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.v9.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
-
-
-
-
Method Detail
-
getDataStructureType
public byte getDataStructureType()
Return the type of Data Structure we marshal- Specified by:
getDataStructureTypein interfaceDataStreamMarshaller- Specified by:
getDataStructureTypein classBaseDataStreamMarshaller- Returns:
- short representation of the type data structure
-
createObject
public DataStructure createObject()
- Specified by:
createObjectin interfaceDataStreamMarshaller- Specified by:
createObjectin classBaseDataStreamMarshaller- 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:
tightUnmarshalin interfaceDataStreamMarshaller- Overrides:
tightUnmarshalin classActiveMQDestinationMarshaller- Parameters:
o- the object to un-marshaldataIn- 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:
tightMarshal1in interfaceDataStreamMarshaller- Overrides:
tightMarshal1in classActiveMQDestinationMarshaller- 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:
tightMarshal2in interfaceDataStreamMarshaller- Overrides:
tightMarshal2in classActiveMQDestinationMarshaller- Parameters:
o- the instance to be marshaleddataOut- 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:
looseUnmarshalin interfaceDataStreamMarshaller- Overrides:
looseUnmarshalin classActiveMQDestinationMarshaller- Parameters:
o- the object to un-marshaldataIn- 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:
looseMarshalin interfaceDataStreamMarshaller- Overrides:
looseMarshalin classActiveMQDestinationMarshaller- Throws:
IOException
-
-