activemq::wireformat::openwire::OpenWireResponseBuilder Class Reference

Used to allow a MockTransport to generate response commands to OpenWire Commands. More...

#include <src/main/activemq/wireformat/openwire/OpenWireResponseBuilder.h>

Inheritance diagram for activemq::wireformat::openwire::OpenWireResponseBuilder:
Inheritance graph
[legend]

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.

Detailed Description

Used to allow a MockTransport to generate response commands to OpenWire Commands.


Constructor & Destructor Documentation

activemq::wireformat::openwire::OpenWireResponseBuilder::OpenWireResponseBuilder (  )  [inline]
virtual activemq::wireformat::openwire::OpenWireResponseBuilder::~OpenWireResponseBuilder (  )  [inline, virtual]

Member Function Documentation

virtual void activemq::wireformat::openwire::OpenWireResponseBuilder::buildIncomingCommands ( const Pointer< commands::Command command,
decaf::util::LinkedList< Pointer< commands::Command > > &  queue 
) [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.

Parameters:
command - The Command being sent to the Broker.
queue - Queue of Command sent back from the broker.

Implements activemq::transport::mock::ResponseBuilder.

virtual Pointer<commands::Response> activemq::wireformat::openwire::OpenWireResponseBuilder::buildResponse ( const Pointer< commands::Command command  )  [virtual]

Given a Command, check if it requires a response and return the appropriate Response that the Broker would send for this Command.

Parameters:
command - The command to build a response for
Returns:
A Response object pointer, or NULL if no response.

Implements activemq::transport::mock::ResponseBuilder.


The documentation for this class was generated from the following file:

Generated on 1 Dec 2014 for activemq-cpp-3.8.2 by  doxygen 1.6.1