activemq-cpp-3.6.0
activemq::wireformat::openwire::marshal::generated::TransactionInfoMarshaller Class Reference

Marshaling code for Open Wire Format for TransactionInfoMarshaller. More...

#include <src/main/activemq/wireformat/openwire/marshal/generated/TransactionInfoMarshaller.h>

Inheritance diagram for activemq::wireformat::openwire::marshal::generated::TransactionInfoMarshaller:

Public Member Functions

 TransactionInfoMarshaller ()
virtual ~TransactionInfoMarshaller ()
virtual commands::DataStructurecreateObject () const
 Creates a new instance of the class that this class is a marshaling director for.
virtual unsigned char getDataStructureType () const
 Gets the DataStructureType that this class marshals/unmarshals.
virtual void tightUnmarshal (OpenWireFormat *wireFormat, commands::DataStructure *dataStructure, decaf::io::DataInputStream *dataIn, utils::BooleanStream *bs)
 Tight Un-marhsal to the given stream.
virtual int tightMarshal1 (OpenWireFormat *wireFormat, commands::DataStructure *dataStructure, utils::BooleanStream *bs)
 Tight Marhsal to the given stream.
virtual void tightMarshal2 (OpenWireFormat *wireFormat, commands::DataStructure *dataStructure, decaf::io::DataOutputStream *dataOut, utils::BooleanStream *bs)
 Tight Marhsal to the given stream.
virtual void looseUnmarshal (OpenWireFormat *wireFormat, commands::DataStructure *dataStructure, decaf::io::DataInputStream *dataIn)
 Loose Un-marhsal to the given stream.
virtual void looseMarshal (OpenWireFormat *wireFormat, commands::DataStructure *dataStructure, decaf::io::DataOutputStream *dataOut)
 Tight Marhsal to the given stream.
- Public Member Functions inherited from activemq::wireformat::openwire::marshal::generated::BaseCommandMarshaller
 BaseCommandMarshaller ()
virtual ~BaseCommandMarshaller ()
- Public Member Functions inherited from activemq::wireformat::openwire::marshal::BaseDataStreamMarshaller
virtual ~BaseDataStreamMarshaller ()
virtual int tightMarshal1 (OpenWireFormat *format AMQCPP_UNUSED, commands::DataStructure *command AMQCPP_UNUSED, utils::BooleanStream *bs AMQCPP_UNUSED)
 Tight Marhsal to the given stream.
virtual void tightMarshal2 (OpenWireFormat *format AMQCPP_UNUSED, commands::DataStructure *command AMQCPP_UNUSED, decaf::io::DataOutputStream *ds AMQCPP_UNUSED, utils::BooleanStream *bs AMQCPP_UNUSED)
 Tight Marshal to the given stream.
virtual void tightUnmarshal (OpenWireFormat *format AMQCPP_UNUSED, commands::DataStructure *command AMQCPP_UNUSED, decaf::io::DataInputStream *dis AMQCPP_UNUSED, utils::BooleanStream *bs AMQCPP_UNUSED)
 Tight Un-Marshal to the given stream.
virtual void looseMarshal (OpenWireFormat *format AMQCPP_UNUSED, commands::DataStructure *command AMQCPP_UNUSED, decaf::io::DataOutputStream *ds AMQCPP_UNUSED)
 Tight Marshal to the given stream.
virtual void looseUnmarshal (OpenWireFormat *format AMQCPP_UNUSED, commands::DataStructure *command AMQCPP_UNUSED, decaf::io::DataInputStream *dis AMQCPP_UNUSED)
 Loose Un-Marshal to the given stream.
- Public Member Functions inherited from activemq::wireformat::openwire::marshal::DataStreamMarshaller
virtual ~DataStreamMarshaller ()

Additional Inherited Members

- Static Public Member Functions inherited from activemq::wireformat::openwire::marshal::BaseDataStreamMarshaller
static std::string toString (const commands::MessageId *id)
 Converts the object to a String.
static std::string toString (const commands::ProducerId *id)
 Converts the object to a String.
static std::string toString (const commands::TransactionId *txnId)
 Converts the given transaction ID into a String.
static std::string toHexFromBytes (const std::vector< unsigned char > &data)
 given an array of bytes, convert that array to a Hexidecimal coded string that represents that data.
- Protected Member Functions inherited from activemq::wireformat::openwire::marshal::BaseDataStreamMarshaller
virtual commands::DataStructuretightUnmarshalCachedObject (OpenWireFormat *wireFormat, decaf::io::DataInputStream *dataIn, utils::BooleanStream *bs)
 Tight Unmarshal the cached object.
virtual int tightMarshalCachedObject1 (OpenWireFormat *wireFormat, commands::DataStructure *data, utils::BooleanStream *bs)
 Tightly marshals the passed DataStructure based object to the passed BooleanStream returning the size of the data marshaled.
virtual void tightMarshalCachedObject2 (OpenWireFormat *wireFormat, commands::DataStructure *data, decaf::io::DataOutputStream *dataOut, utils::BooleanStream *bs)
 Tightly marshals the passed DataStructure based object to the passed streams returning nothing.
virtual void looseMarshalCachedObject (OpenWireFormat *wireFormat, commands::DataStructure *data, decaf::io::DataOutputStream *dataOut)
 Loosely marshals the passed DataStructure based object to the passed stream returning nothing.
virtual commands::DataStructurelooseUnmarshalCachedObject (OpenWireFormat *wireFormat, decaf::io::DataInputStream *dataIn)
 Loose Unmarshal the cached object.
virtual int tightMarshalNestedObject1 (OpenWireFormat *wireFormat, commands::DataStructure *object, utils::BooleanStream *bs)
 Tightly marshals the passed DataStructure based object to the passed BooleanStream returning the size of the data marshaled.
virtual void tightMarshalNestedObject2 (OpenWireFormat *wireFormat, commands::DataStructure *object, decaf::io::DataOutputStream *dataOut, utils::BooleanStream *bs)
 Tightly marshals the passed DataStructure based object to the passed streams returning nothing.
virtual commands::DataStructuretightUnmarshalNestedObject (OpenWireFormat *wireFormat, decaf::io::DataInputStream *dataIn, utils::BooleanStream *bs)
 Tight Unmarshal the nested object.
virtual commands::DataStructurelooseUnmarshalNestedObject (OpenWireFormat *wireFormat, decaf::io::DataInputStream *dataIn)
 Loose Unmarshal the nested object.
virtual void looseMarshalNestedObject (OpenWireFormat *wireFormat, commands::DataStructure *object, decaf::io::DataOutputStream *dataOut)
 Loose marshall the nested object.
virtual std::string tightUnmarshalString (decaf::io::DataInputStream *dataIn, utils::BooleanStream *bs)
 Performs Tight Unmarshaling of String Objects.
virtual int tightMarshalString1 (const std::string &value, utils::BooleanStream *bs)
 Tight Marshals the String to a Booleans Stream Object, returns the marshaled size.
virtual void tightMarshalString2 (const std::string &value, decaf::io::DataOutputStream *dataOut, utils::BooleanStream *bs)
 Tight Marshals the passed string to the streams passed.
virtual void looseMarshalString (const std::string value, decaf::io::DataOutputStream *dataOut)
 Loose Marshal the String to the DataOuputStream passed.
virtual std::string looseUnmarshalString (decaf::io::DataInputStream *dataIn)
 Loose Un-Marshal the String to the DataOuputStream passed.
virtual int tightMarshalLong1 (OpenWireFormat *wireFormat, long long value, utils::BooleanStream *bs)
 Tightly marshal the long long to the BooleanStream passed.
virtual void tightMarshalLong2 (OpenWireFormat *wireFormat, long long value, decaf::io::DataOutputStream *dataOut, utils::BooleanStream *bs)
 Tightly marshal the long long to the Streams passed.
virtual long long tightUnmarshalLong (OpenWireFormat *wireFormat, decaf::io::DataInputStream *dataIn, utils::BooleanStream *bs)
 Tight marshal the long long type.
virtual void looseMarshalLong (OpenWireFormat *wireFormat, long long value, decaf::io::DataOutputStream *dataOut)
 Tightly marshal the long long to the BooleanStream passed.
virtual long long looseUnmarshalLong (OpenWireFormat *wireFormat, decaf::io::DataInputStream *dataIn)
 Loose marshal the long long type.
virtual std::vector< unsigned
char > 
tightUnmarshalByteArray (decaf::io::DataInputStream *dataIn, utils::BooleanStream *bs)
 Tight Unmarshal an array of char.
virtual std::vector< unsigned
char > 
looseUnmarshalByteArray (decaf::io::DataInputStream *dataIn)
 Loose Unmarshal an array of char.
virtual std::vector< unsigned
char > 
tightUnmarshalConstByteArray (decaf::io::DataInputStream *dataIn, utils::BooleanStream *bs, int size)
 Tight Unmarshal a fixed size array from that data input stream and return an stl vector of char as the resultant.
virtual std::vector< unsigned
char > 
looseUnmarshalConstByteArray (decaf::io::DataInputStream *dataIn, int size)
 Tight Unmarshal a fixed size array from that data input stream and return an stl vector of char as the resultant.
virtual commands::DataStructuretightUnmarshalBrokerError (OpenWireFormat *wireFormat, decaf::io::DataInputStream *dataIn, utils::BooleanStream *bs)
 Tight Unarshall the Error object.
virtual int tightMarshalBrokerError1 (OpenWireFormat *wireFormat, commands::DataStructure *data, utils::BooleanStream *bs)
 Tight Marshal the Error object.
virtual void tightMarshalBrokerError2 (OpenWireFormat *wireFormat, commands::DataStructure *data, decaf::io::DataOutputStream *dataOut, utils::BooleanStream *bs)
 Tight Marshal the Error object.
virtual commands::DataStructurelooseUnmarshalBrokerError (OpenWireFormat *wireFormat, decaf::io::DataInputStream *dataIn)
 Loose Unarshal the Error object.
virtual void looseMarshalBrokerError (OpenWireFormat *wireFormat, commands::DataStructure *data, decaf::io::DataOutputStream *dataOut)
 Tight Marshal the Error object.
template<typename T >
int tightMarshalObjectArray1 (OpenWireFormat *wireFormat, std::vector< T > objects, utils::BooleanStream *bs)
 Tightly Marshal an array of DataStructure objects to the provided boolean stream, and return the size that the tight marshalling is going to take.
template<typename T >
void tightMarshalObjectArray2 (OpenWireFormat *wireFormat, std::vector< T > objects, decaf::io::DataOutputStream *dataOut, utils::BooleanStream *bs)
 Tightly Marshal an array of DataStructure objects to the provided boolean stream and data output stream.
template<typename T >
void looseMarshalObjectArray (OpenWireFormat *wireFormat, std::vector< T > objects, decaf::io::DataOutputStream *dataOut)
 Loosely Marshal an array of DataStructure objects to the provided boolean stream and data output stream.
virtual std::string readAsciiString (decaf::io::DataInputStream *dataIn)
 Given an DataInputStream read a know ASCII formatted string from the input and return that string.

Detailed Description

Marshaling code for Open Wire Format for TransactionInfoMarshaller.

NOTE!: This file is auto generated - do not modify! if you need to make a change, please see the Java Classes in the activemq-openwire-generator module

Constructor & Destructor Documentation

activemq::wireformat::openwire::marshal::generated::TransactionInfoMarshaller::TransactionInfoMarshaller ( )
inline
virtual activemq::wireformat::openwire::marshal::generated::TransactionInfoMarshaller::~TransactionInfoMarshaller ( )
inlinevirtual

Member Function Documentation

virtual commands::DataStructure* activemq::wireformat::openwire::marshal::generated::TransactionInfoMarshaller::createObject ( ) const
virtual

Creates a new instance of the class that this class is a marshaling director for.

Returns
newly allocated Command

Implements activemq::wireformat::openwire::marshal::DataStreamMarshaller.

virtual unsigned char activemq::wireformat::openwire::marshal::generated::TransactionInfoMarshaller::getDataStructureType ( ) const
virtual

Gets the DataStructureType that this class marshals/unmarshals.

Returns
byte Id of this classes DataStructureType

Implements activemq::wireformat::openwire::marshal::DataStreamMarshaller.

virtual void activemq::wireformat::openwire::marshal::generated::TransactionInfoMarshaller::looseMarshal ( OpenWireFormat format,
commands::DataStructure command,
decaf::io::DataOutputStream ds 
)
virtual

Tight Marhsal to the given stream.

Parameters
format- The OpenwireFormat properties
command- the object to Marshal
ds- DataOutputStream to marshal to
Exceptions
IOExceptionif an error occurs.

Reimplemented from activemq::wireformat::openwire::marshal::generated::BaseCommandMarshaller.

virtual void activemq::wireformat::openwire::marshal::generated::TransactionInfoMarshaller::looseUnmarshal ( OpenWireFormat format,
commands::DataStructure command,
decaf::io::DataInputStream dis 
)
virtual

Loose Un-marhsal to the given stream.

Parameters
format- The OpenwireFormat properties
command- the object to Un-Marshal
dis- the DataInputStream to Un-Marshal from
Exceptions
IOExceptionif an error occurs.

Reimplemented from activemq::wireformat::openwire::marshal::generated::BaseCommandMarshaller.

virtual int activemq::wireformat::openwire::marshal::generated::TransactionInfoMarshaller::tightMarshal1 ( OpenWireFormat format,
commands::DataStructure command,
utils::BooleanStream bs 
)
virtual

Tight Marhsal to the given stream.

Parameters
formatThe OpenwireFormat properties
commandThe object to Marshal
bsThe boolean stream to marshal to.
Exceptions
IOExceptionif an error occurs.

Reimplemented from activemq::wireformat::openwire::marshal::generated::BaseCommandMarshaller.

virtual void activemq::wireformat::openwire::marshal::generated::TransactionInfoMarshaller::tightMarshal2 ( OpenWireFormat format,
commands::DataStructure command,
decaf::io::DataOutputStream ds,
utils::BooleanStream bs 
)
virtual

Tight Marhsal to the given stream.

Parameters
format- The OpenwireFormat properties
command- the object to Marshal
ds- the DataOutputStream to Marshal to
bs- boolean stream to marshal to.
Exceptions
IOExceptionif an error occurs.

Reimplemented from activemq::wireformat::openwire::marshal::generated::BaseCommandMarshaller.

virtual void activemq::wireformat::openwire::marshal::generated::TransactionInfoMarshaller::tightUnmarshal ( OpenWireFormat format,
commands::DataStructure command,
decaf::io::DataInputStream dis,
utils::BooleanStream bs 
)
virtual

Tight Un-marhsal to the given stream.

Parameters
format- The OpenwireFormat properties
command- the object to Un-Marshal
dis- the DataInputStream to Un-Marshal from
bs- boolean stream to unmarshal from.
Exceptions
IOExceptionif an error occurs.

Reimplemented from activemq::wireformat::openwire::marshal::generated::BaseCommandMarshaller.


The documentation for this class was generated from the following file: