#include <src/main/activemq/wireformat/MarshalAware.h>
virtual activemq::wireformat::MarshalAware::~MarshalAware |
( |
| ) |
|
|
virtual |
virtual void activemq::wireformat::MarshalAware::afterMarshal |
( |
WireFormat * |
wireFormat | ) |
|
|
pure virtual |
Called after marshaling is started to cleanup the object being marshaled.
- Parameters
-
wireFormat | The wireformat object to control marshaling |
- Exceptions
-
IOException | if an I/O error occurs. |
virtual void activemq::wireformat::MarshalAware::afterUnmarshal |
( |
WireFormat * |
wireFormat | ) |
|
|
pure virtual |
Called after unmarshaling is started to cleanup the object being unmarshaled.
- Parameters
-
wireFormat | The wireformat object to control marshaling |
- Exceptions
-
IOException | if an I/O error occurs. |
virtual void activemq::wireformat::MarshalAware::beforeMarshal |
( |
WireFormat * |
wireFormat | ) |
|
|
pure virtual |
virtual void activemq::wireformat::MarshalAware::beforeUnmarshal |
( |
WireFormat * |
wireFormat | ) |
|
|
pure virtual |
Called before unmarshaling is started to prepare the object to be unmarshaled.
- Parameters
-
wireFormat | The wireformat object to control marshaling |
- Exceptions
-
IOException | if an I/O error occurs. |
virtual std::vector<unsigned char> activemq::wireformat::MarshalAware::getMarshaledForm |
( |
WireFormat * |
wireFormat | ) |
|
|
pure virtual |
Called to get the data to this object that will contain the objects marshaled form.
- Parameters
-
wireFormat | The wireformat object to control unmarshaling |
- Returns
- buffer that holds the objects data.
virtual bool activemq::wireformat::MarshalAware::isMarshalAware |
( |
| ) |
const |
|
pure virtual |
virtual void activemq::wireformat::MarshalAware::setMarshaledForm |
( |
WireFormat * |
wireFormat, |
|
|
const std::vector< char > & |
data |
|
) |
| |
|
pure virtual |
Called to set the data to this object that will contain the objects marshaled form.
- Parameters
-
wireFormat | - the wireformat object to control unmarshaling |
data | - vector of object binary data |
wireFormat | The wireformat object to control marshaling |
data | A vector of bytes that contains the object in marshaled form. |
- Exceptions
-
IOException | if an I/O error occurs. |
The documentation for this class was generated from the following file: