activemq-cpp-3.6.0
|
Used to allow a MockTransport to generate response commands to OpenWire Commands. More...
#include <src/main/activemq/wireformat/openwire/OpenWireResponseBuilder.h>
Public Member Functions | |
OpenWireResponseBuilder () | |
virtual | ~OpenWireResponseBuilder () |
virtual Pointer < commands::Response > | buildResponse (const Pointer< commands::Command > command) |
Given a Command, check if it requires a response and return the appropriate Response that the Broker would send for this Command. | |
virtual void | buildIncomingCommands (const Pointer< commands::Command > command, decaf::util::LinkedList< Pointer< commands::Command > > &queue) |
When called the ResponseBuilder must construct all the Responses or Asynchronous commands that would be sent to this client by the Broker upon receipt of the passed command. | |
Public Member Functions inherited from activemq::transport::mock::ResponseBuilder | |
virtual | ~ResponseBuilder () |
Used to allow a MockTransport to generate response commands to OpenWire Commands.
|
inline |
|
inlinevirtual |
|
virtual |
When called the ResponseBuilder must construct all the Responses or Asynchronous commands that would be sent to this client by the Broker upon receipt of the passed command.
command | - The Command being sent to the Broker. |
queue | - Queue of Command sent back from the broker. |
Implements activemq::transport::mock::ResponseBuilder.
|
virtual |
Given a Command, check if it requires a response and return the appropriate Response that the Broker would send for this Command.
command | - The command to build a response for |
Implements activemq::transport::mock::ResponseBuilder.