public class ActiveMQStreamMessageMarshaller extends ActiveMQMessageMarshaller
STACK_TRACE_ELEMENT_CONSTRUCTOR| Constructor and Description |
|---|
ActiveMQStreamMessageMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
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
|
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, toLongpublic ActiveMQStreamMessageMarshaller()
public byte getDataStructureType()
getDataStructureType in interface DataStreamMarshallergetDataStructureType in class ActiveMQMessageMarshallerpublic DataStructure createObject()
createObject in interface DataStreamMarshallercreateObject in class ActiveMQMessageMarshallerpublic void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException
tightUnmarshal in interface DataStreamMarshallertightUnmarshal in class ActiveMQMessageMarshallero - the object to un-marshaldataIn - the data input stream to build the object fromIOExceptionpublic int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException
tightMarshal1 in interface DataStreamMarshallertightMarshal1 in class ActiveMQMessageMarshallerIOExceptionpublic void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException
tightMarshal2 in interface DataStreamMarshallertightMarshal2 in class ActiveMQMessageMarshallero - the instance to be marshaleddataOut - the output streamIOException - thrown if an error occurspublic void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException
looseUnmarshal in interface DataStreamMarshallerlooseUnmarshal in class ActiveMQMessageMarshallero - the object to un-marshaldataIn - the data input stream to build the object fromIOExceptionpublic void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException
looseMarshal in interface DataStreamMarshallerlooseMarshal in class ActiveMQMessageMarshallerIOExceptionCopyright © 2005–2015 FuseSource, Corp.. All rights reserved.