Utility Methods used when marshaling to and from StompFrame's.
More...
#include <src/main/activemq/wireformat/stomp/StompHelper.h>
Detailed Description
Utility Methods used when marshaling to and from StompFrame's.
- Since
- 3.0
Constructor & Destructor Documentation
activemq::wireformat::stomp::StompHelper::StompHelper |
( |
StompWireFormat * |
wireFormat | ) |
|
virtual activemq::wireformat::stomp::StompHelper::~StompHelper |
( |
| ) |
|
|
virtual |
Member Function Documentation
std::string activemq::wireformat::stomp::StompHelper::convertConsumerId |
( |
const Pointer< ConsumerId > & |
consumerId | ) |
|
Converts a ConsumerId instance to a Stomp ConsumerId String.
- Parameters
-
consumerId | - the Consumer instance to convert. |
- Returns
- a Stomp Consumer Id String.
Pointer<ConsumerId> activemq::wireformat::stomp::StompHelper::convertConsumerId |
( |
const std::string & |
consumerId | ) |
|
Converts a Stomp ConsumerId string to a ConsumerId.
- Parameters
-
consumerId | - the String Consumer Id to convert. |
- Returns
- Pointer to a new ConsumerId.
Converts from a Stomp Destination to an ActiveMQDestination.
- Parameters
-
destination | - The Stomp Destination name string. |
- Returns
- Pointer to a new ActiveMQDestination.
Converts from a ActiveMQDestination to a Stomp Destination Name.
- Parameters
-
destination | - The ActiveMQDestination to Convert |
- Returns
- the Stomp String name that defines the destination.
std::string activemq::wireformat::stomp::StompHelper::convertMessageId |
( |
const Pointer< MessageId > & |
messageId | ) |
|
Converts a MessageId instance to a Stomp MessageId String.
- Parameters
-
messageId | - the MessageId instance to convert. |
- Returns
- a Stomp Message Id String.
Pointer<MessageId> activemq::wireformat::stomp::StompHelper::convertMessageId |
( |
const std::string & |
messageId | ) |
|
Converts a Stomp MessageId string to a MessageId.
- Parameters
-
messageId | - the String message Id to convert. |
- Returns
- Pointer to a new MessageId.
std::string activemq::wireformat::stomp::StompHelper::convertProducerId |
( |
const Pointer< ProducerId > & |
producerId | ) |
|
Converts a ProducerId instance to a Stomp ProducerId String.
- Parameters
-
producerId | - the Producer instance to convert. |
- Returns
- a Stomp Producer Id String.
Pointer<ProducerId> activemq::wireformat::stomp::StompHelper::convertProducerId |
( |
const std::string & |
producerId | ) |
|
Converts a Stomp ProducerId string to a ProducerId.
- Parameters
-
producerId | - the String Producer Id to convert. |
- Returns
- Pointer to a new ProducerId.
Converts the Headers in a Stomp Frame into Headers in the given Message Command.
- Parameters
-
frame | - The frame to extract headers from. |
message | - The message to move the Headers to. |
Converts the Properties in a Message Command to Valid Headers and Properties in the StompFrame.
- Parameters
-
message | - The message to move the Headers to. |
frame | - The frame to extract headers from. |
Converts a TransactionId instance to a Stomp TransactionId String.
- Parameters
-
transactionId | - the Transaction instance to convert. |
- Returns
- a Stomp Transaction Id String.
Converts a Stomp TransactionId string to a TransactionId.
- Parameters
-
transactionId | - the String Transaction Id to convert. |
- Returns
- Pointer to a new TransactionId.
The documentation for this class was generated from the following file: