activemq-cpp-3.6.0
|
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. |
Additional Inherited Members | |
Defines the Type Identifiers used to identify the type contained within a specific Message property or MapMessage keyed value. More... |
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 ObjectMessage
s.
|
virtual |
|
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.
|
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.