Place holder for interaction with JMS systems that support Java, the C++ client is not responsible for deserializing the contained Object. More...
#include <src/main/cms/ObjectMessage.h>

Public Member Functions | |
| virtual | ~ObjectMessage () |
| virtual void | setObjectBytes (const std::vector< unsigned char > &bytes)=0 |
| Sets the payload bytes the represent the Object being transmitted. | |
| virtual std::vector< unsigned char > | getObjectBytes () const =0 |
| Returns the byte array containing the serialized form of the transmitted Object. | |
Place holder for interaction with JMS systems that support Java, the C++ client is not responsible for deserializing the contained Object.
The Object can be accessed in its serialized form as a vector of bytes which allows for bridging of message systems.
serialized ObjectMessages.
| virtual cms::ObjectMessage::~ObjectMessage | ( | ) | [virtual] |
| virtual std::vector<unsigned char> cms::ObjectMessage::getObjectBytes | ( | ) | const [pure virtual] |
Returns the byte array containing the serialized form of the transmitted Object.
| CMSException | - if the operation fails due to an internal error. | |
| MessageNotReadableException | - if the message is in write only mode. |
Implemented in activemq::commands::ActiveMQObjectMessage.
| virtual void cms::ObjectMessage::setObjectBytes | ( | const std::vector< unsigned char > & | bytes | ) | [pure virtual] |
Sets the payload bytes the represent the Object being transmitted.
| bytes | The byte array that contains the serialized object. |
| CMSException | - if the operation fails due to an internal error. | |
| MessageNotWriteableException | - if the Message is in Read-only Mode. |
Implemented in activemq::commands::ActiveMQObjectMessage.
1.6.1