#include <src/main/activemq/wireformat/MarshalAware.h>
|
virtual | ~MarshalAware () |
|
virtual bool | isMarshalAware () const =0 |
| Determine if the class implementing this interface is really wanting to be told about marshaling.
|
|
virtual void | beforeMarshal (WireFormat *wireFormat)=0 |
| Called before marshaling is started to prepare the object to be marshaled.
|
|
virtual void | afterMarshal (WireFormat *wireFormat)=0 |
| Called after marshaling is started to cleanup the object being marshaled.
|
|
virtual void | beforeUnmarshal (WireFormat *wireFormat)=0 |
| Called before unmarshaling is started to prepare the object to be unmarshaled.
|
|
virtual void | afterUnmarshal (WireFormat *wireFormat)=0 |
| Called after unmarshaling is started to cleanup the object being unmarshaled.
|
|
virtual void | setMarshaledForm (WireFormat *wireFormat, const std::vector< char > &data)=0 |
| Called to set the data to this object that will contain the objects marshaled form.
|
|
virtual std::vector< unsigned char > | getMarshaledForm (WireFormat *wireFormat)=0 |
| Called to get the data to this object that will contain the objects marshaled form.
|
|
◆ ~MarshalAware()
virtual activemq::wireformat::MarshalAware::~MarshalAware |
( |
| ) |
|
|
virtual |
◆ afterMarshal()
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. |
◆ afterUnmarshal()
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. |
◆ beforeMarshal()
virtual void activemq::wireformat::MarshalAware::beforeMarshal |
( |
WireFormat * | wireFormat | ) |
|
|
pure virtual |
◆ beforeUnmarshal()
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. |
◆ getMarshaledForm()
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.
◆ isMarshalAware()
virtual bool activemq::wireformat::MarshalAware::isMarshalAware |
( |
| ) |
const |
|
pure virtual |
◆ setMarshaledForm()
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: