Interface for all Protocols to implement that defines the behavior of the Broker in response to messages of that protocol. More...
#include <src/main/activemq/transport/mock/ResponseBuilder.h>

Public Member Functions | |
| virtual | ~ResponseBuilder () |
| virtual Pointer< Response > | buildResponse (const Pointer< Command > command)=0 |
| 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< Command > command, decaf::util::LinkedList< Pointer< Command > > &queue)=0 |
| 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. | |
Interface for all Protocols to implement that defines the behavior of the Broker in response to messages of that protocol.
| virtual activemq::transport::mock::ResponseBuilder::~ResponseBuilder | ( | ) | [virtual] |
| virtual void activemq::transport::mock::ResponseBuilder::buildIncomingCommands | ( | const Pointer< Command > | command, | |
| decaf::util::LinkedList< Pointer< Command > > & | queue | |||
| ) | [pure 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. |
Implemented in activemq::wireformat::openwire::OpenWireResponseBuilder.
| virtual Pointer<Response> activemq::transport::mock::ResponseBuilder::buildResponse | ( | const Pointer< Command > | command | ) | [pure 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 |
Implemented in activemq::wireformat::openwire::OpenWireResponseBuilder.
1.6.1