|
activemq-cpp-3.9.5
|
#include <src/main/activemq/wireformat/stomp/StompWireFormat.h>

Public Member Functions | |
| StompWireFormat () | |
| virtual | ~StompWireFormat () |
| virtual void | marshal (const Pointer< commands::Command > command, const activemq::transport::Transport *transport, decaf::io::DataOutputStream *out) |
| Stream based marshaling of a Command, this method blocks until the entire Command has been written out to the output stream. | |
| virtual Pointer< commands::Command > | unmarshal (const activemq::transport::Transport *transport, decaf::io::DataInputStream *in) |
| Stream based un-marshaling, blocks on reads on the input stream until a complete command has been read and unmarshaled into the correct form. | |
| virtual void | setVersion (int version AMQCPP_UNUSED) |
| Set the Version. | |
| virtual int | getVersion () const |
| Get the Version. | |
| std::string | getTopicPrefix () const |
| Gets the prefix used to address Topics. | |
| void | setTopicPrefix (const std::string &prefix) |
| Sets the prefix used to address Topics. | |
| std::string | getQueuePrefix () const |
| Gets the prefix used to address Queues. | |
| void | setQueuePrefix (const std::string &prefix) |
| Sets the prefix used to address Queues. | |
| std::string | getTempTopicPrefix () const |
| Gets the prefix used to address Temporary Topics. | |
| void | setTempTopicPrefix (const std::string &prefix) |
| Sets the prefix used to address Temporary Topics. | |
| std::string | getTempQueuePrefix () const |
| Gets the prefix used to address Temporary Queues. | |
| void | setTempQueuePrefix (const std::string &prefix) |
| Sets the prefix used to address Temporary Queues. | |
| virtual bool | inReceive () const |
| Is there a Message being unmarshaled? | |
| virtual bool | hasNegotiator () const |
| Returns true if this WireFormat has a Negotiator that needs to wrap the Transport that uses it. | |
| virtual Pointer< transport::Transport > | createNegotiator (const Pointer< transport::Transport > transport) |
| If the Transport Provides a Negotiator this method will create and return a news instance of the Negotiator. | |
Public Member Functions inherited from activemq::wireformat::WireFormat | |
| virtual | ~WireFormat () |
| virtual void | marshal (const Pointer< commands::Command > command, const activemq::transport::Transport *transport, decaf::io::DataOutputStream *out)=0 |
| Stream based marshaling of a Command, this method blocks until the entire Command has been written out to the output stream. | |
| virtual Pointer< commands::Command > | unmarshal (const activemq::transport::Transport *transport, decaf::io::DataInputStream *in)=0 |
| Stream based unmarshaling, blocks on reads on the input stream until a complete command has been read and unmarshaled into the correct form. | |
| virtual void | setVersion (int version)=0 |
| Set the Version. | |
| virtual int | getVersion () const =0 |
| Get the Version. | |
| virtual bool | hasNegotiator () const =0 |
| Returns true if this WireFormat has a Negotiator that needs to wrap the Transport that uses it. | |
| virtual bool | inReceive () const =0 |
| Indicates if the WireFromat object is in the process of receiving a message. | |
| virtual Pointer< transport::Transport > | createNegotiator (const Pointer< transport::Transport > transport)=0 |
| If the Transport Provides a Negotiator this method will create and return a new instance of the Negotiator. | |
| activemq::wireformat::stomp::StompWireFormat::StompWireFormat | ( | ) |
|
virtual |
|
virtual |
If the Transport Provides a Negotiator this method will create and return a news instance of the Negotiator.
| UnsupportedOperationException | if the WireFormat doesn't have a Negotiator. |
Implements activemq::wireformat::WireFormat.
| std::string activemq::wireformat::stomp::StompWireFormat::getQueuePrefix | ( | ) | const |
Gets the prefix used to address Queues.
| std::string activemq::wireformat::stomp::StompWireFormat::getTempQueuePrefix | ( | ) | const |
Gets the prefix used to address Temporary Queues.
| std::string activemq::wireformat::stomp::StompWireFormat::getTempTopicPrefix | ( | ) | const |
Gets the prefix used to address Temporary Topics.
| std::string activemq::wireformat::stomp::StompWireFormat::getTopicPrefix | ( | ) | const |
Gets the prefix used to address Topics.
|
inlinevirtual |
|
inlinevirtual |
Returns true if this WireFormat has a Negotiator that needs to wrap the Transport that uses it.
Implements activemq::wireformat::WireFormat.
|
inlinevirtual |
Is there a Message being unmarshaled?
Implements activemq::wireformat::WireFormat.
References decaf::util::concurrent::atomic::AtomicBoolean::get().
|
virtual |
Stream based marshaling of a Command, this method blocks until the entire Command has been written out to the output stream.
| command | The Command to Marshal to the output stream. |
| transport | The Transport that initiated this marshal call. |
| out | The output stream to write the command to. |
| IOException |
Implements activemq::wireformat::WireFormat.
| void activemq::wireformat::stomp::StompWireFormat::setQueuePrefix | ( | const std::string & | prefix | ) |
Sets the prefix used to address Queues.
| prefix | The prefix to use. |
| void activemq::wireformat::stomp::StompWireFormat::setTempQueuePrefix | ( | const std::string & | prefix | ) |
Sets the prefix used to address Temporary Queues.
| prefix | The prefix to use. |
| void activemq::wireformat::stomp::StompWireFormat::setTempTopicPrefix | ( | const std::string & | prefix | ) |
Sets the prefix used to address Temporary Topics.
| prefix | The prefix to use. |
| void activemq::wireformat::stomp::StompWireFormat::setTopicPrefix | ( | const std::string & | prefix | ) |
Sets the prefix used to address Topics.
| prefix | The prefix to use. |
|
inlinevirtual |
Set the Version.
| the | version of the wire format |
Implements activemq::wireformat::WireFormat.
|
virtual |
Stream based un-marshaling, blocks on reads on the input stream until a complete command has been read and unmarshaled into the correct form.
Returns a Pointer to the newly unmarshaled Command.
| transport | - Pointer to the transport that is making this request. |
| in | - the input stream to read the command from. |
| IOException |
Implements activemq::wireformat::WireFormat.