activemq::wireformat::stomp::StompHelper Class Reference
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
| 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.
| 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.
Converts from a ActiveMQDestination to a Stomp Destination Name.
- Parameters:
-
| destination | - The ActiveMQDestination to Convert |
- Returns:
- the Stomp String name that defines the destination.
Converts from a Stomp Destination to an ActiveMQDestination.
- Parameters:
-
| destination | - The Stomp Destination name string. |
- Returns:
- Pointer to a new ActiveMQDestination.
| 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::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<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.
| 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.
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 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. |
| Pointer<TransactionId> activemq::wireformat::stomp::StompHelper::convertTransactionId |
( |
const std::string & |
transactionId |
) |
|
Converts a Stomp TransactionId string to a TransactionId.
- Parameters:
-
| transactionId | - the String Transaction Id to convert. |
- Returns:
- Pointer to a new TransactionId.
| std::string activemq::wireformat::stomp::StompHelper::convertTransactionId |
( |
const Pointer< TransactionId > & |
transactionId |
) |
|
Converts a TransactionId instance to a Stomp TransactionId String.
- Parameters:
-
| transactionId | - the Transaction instance to convert. |
- Returns:
- a Stomp Transaction Id String.
The documentation for this class was generated from the following file: