Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
#include <Connector.h>
Public Types | |
typedef AMQFrame & | HandledType |
typedef void | result_type |
Public Member Functions | |
typedef Connector * | Factory (framing::ProtocolVersion, const ConnectionSettings &, ConnectionImpl *) |
virtual | ~Connector () |
virtual void | connect (const std::string &host, int port)=0 |
virtual void | init () |
virtual void | close ()=0 |
virtual void | send (framing::AMQFrame &frame)=0 |
virtual void | abort ()=0 |
virtual void | setInputHandler (framing::InputHandler *handler)=0 |
virtual void | setShutdownHandler (sys::ShutdownHandler *handler)=0 |
virtual sys::ShutdownHandler * | getShutdownHandler () const =0 |
virtual framing::OutputHandler * | getOutputHandler ()=0 |
virtual const std::string & | getIdentifier () const =0 |
virtual void | activateSecurityLayer (std::auto_ptr< qpid::sys::SecurityLayer >) |
void | handle (AMQFrame &f) |
typedef void | handleFptr (AMQFrame &) |
void | operator() (AMQFrame &t) |
Allow functor syntax for calling handle. | |
Static Public Member Functions | |
static Connector * | create (const std::string &proto, framing::ProtocolVersion, const ConnectionSettings &, ConnectionImpl *) |
static void | registerFactory (const std::string &proto, Factory *connectorFactory) |
Public Attributes | |
Handler< AMQFrame & > * | next |
Pointer to next handler in a linked list. |
Definition at line 54 of file Connector.h.
typedef AMQFrame & qpid::framing::Handler< AMQFrame & >::HandledType [inherited] |
typedef void qpid::framing::Handler< AMQFrame & >::result_type [inherited] |
virtual qpid::client::Connector::~Connector | ( | ) | [inline, virtual] |
Definition at line 62 of file Connector.h.
virtual void qpid::client::Connector::abort | ( | ) | [pure virtual] |
virtual void qpid::client::Connector::activateSecurityLayer | ( | std::auto_ptr< qpid::sys::SecurityLayer > | ) | [inline, virtual] |
Definition at line 75 of file Connector.h.
virtual void qpid::client::Connector::close | ( | ) | [pure virtual] |
virtual void qpid::client::Connector::connect | ( | const std::string & | host, | |
int | port | |||
) | [pure virtual] |
static Connector* qpid::client::Connector::create | ( | const std::string & | proto, | |
framing::ProtocolVersion | , | |||
const ConnectionSettings & | , | |||
ConnectionImpl * | ||||
) | [static] |
typedef Connector* qpid::client::Connector::Factory | ( | framing::ProtocolVersion | , | |
const ConnectionSettings & | , | |||
ConnectionImpl * | ||||
) |
virtual const std::string& qpid::client::Connector::getIdentifier | ( | ) | const [pure virtual] |
virtual framing::OutputHandler* qpid::client::Connector::getOutputHandler | ( | ) | [pure virtual] |
virtual sys::ShutdownHandler* qpid::client::Connector::getShutdownHandler | ( | ) | const [pure virtual] |
void qpid::framing::OutputHandler::handle | ( | AMQFrame & | f | ) | [inline, virtual, inherited] |
Implements qpid::framing::Handler< AMQFrame & >.
Definition at line 35 of file OutputHandler.h.
References qpid::framing::OutputHandler::send().
typedef void qpid::framing::Handler< AMQFrame & >::handleFptr | ( | AMQFrame & | ) | [inherited] |
virtual void qpid::client::Connector::init | ( | ) | [inline, virtual] |
Definition at line 64 of file Connector.h.
void qpid::framing::Handler< AMQFrame & >::operator() | ( | AMQFrame & | t | ) | [inline, inherited] |
Allow functor syntax for calling handle.
Definition at line 42 of file Handler.h.
References qpid::framing::Handler< T >::handle().
static void qpid::client::Connector::registerFactory | ( | const std::string & | proto, | |
Factory * | connectorFactory | |||
) | [static] |
virtual void qpid::client::Connector::send | ( | framing::AMQFrame & | frame | ) | [pure virtual] |
Implements qpid::framing::OutputHandler.
virtual void qpid::client::Connector::setInputHandler | ( | framing::InputHandler * | handler | ) | [pure virtual] |
virtual void qpid::client::Connector::setShutdownHandler | ( | sys::ShutdownHandler * | handler | ) | [pure virtual] |
Handler<AMQFrame & >* qpid::framing::Handler< AMQFrame & >::next [inherited] |
Pointer to next handler in a linked list.
Definition at line 46 of file Handler.h.
Referenced by qpid::framing::ChannelHandler::handle().