| Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
#include <ConnectionImpl.h>
Public Types | |
| typedef T | HandledType |
| typedef void | result_type |
Public Member Functions | |
| ConnectionImpl (framing::ProtocolVersion version, const ConnectionSettings &settings) | |
| ~ConnectionImpl () | |
| void | open () |
| bool | isOpen () const |
| boost::shared_ptr< SessionImpl > | newSession (const std::string &name, uint32_t timeout, uint16_t channel=0) |
| void | addSession (const boost::shared_ptr< SessionImpl > &, uint16_t channel=0) |
| void | close () |
| void | handle (framing::AMQFrame &frame) |
| void | erase (uint16_t channel) |
| const ConnectionSettings & | getNegotiatedSettings () |
| std::vector< Url > | getKnownBrokers () |
| void | registerFailureCallback (boost::function< void()> fn) |
| void | stopFailoverListener () |
| framing::ProtocolVersion | getVersion () |
| bool | expand (size_t, bool block) |
| void | reduce (size_t) |
| size_t | getCurrentSize () |
| void | setException (const sys::ExceptionHolder &) |
| typedef void | handleFptr (T) |
| virtual void | handle (T)=0 |
| void | operator() (T t) |
| Allow functor syntax for calling handle. | |
Public Attributes | |
| Handler< T > * | next |
| Pointer to next handler in a linked list. | |
Definition at line 47 of file ConnectionImpl.h.
typedef T qpid::framing::Handler< T >::HandledType [inherited] |
typedef void qpid::framing::Handler< T >::result_type [inherited] |
| qpid::client::ConnectionImpl::ConnectionImpl | ( | framing::ProtocolVersion | version, | |
| const ConnectionSettings & | settings | |||
| ) |
| qpid::client::ConnectionImpl::~ConnectionImpl | ( | ) |
| void qpid::client::ConnectionImpl::addSession | ( | const boost::shared_ptr< SessionImpl > & | , | |
| uint16_t | channel = 0 | |||
| ) |
| void qpid::client::ConnectionImpl::close | ( | ) |
| void qpid::client::ConnectionImpl::erase | ( | uint16_t | channel | ) |
| bool qpid::client::Bounds::expand | ( | size_t | , | |
| bool | block | |||
| ) | [inherited] |
| size_t qpid::client::Bounds::getCurrentSize | ( | ) | [inherited] |
| std::vector<Url> qpid::client::ConnectionImpl::getKnownBrokers | ( | ) |
| const ConnectionSettings& qpid::client::ConnectionImpl::getNegotiatedSettings | ( | ) |
| framing::ProtocolVersion qpid::client::ConnectionImpl::getVersion | ( | ) | [inline] |
Definition at line 95 of file ConnectionImpl.h.
| virtual void qpid::framing::Handler< T >::handle | ( | T | ) | [pure virtual, inherited] |
| void qpid::client::ConnectionImpl::handle | ( | framing::AMQFrame & | frame | ) |
| typedef void qpid::framing::Handler< T >::handleFptr | ( | T | ) | [inherited] |
| bool qpid::client::ConnectionImpl::isOpen | ( | ) | const |
| boost::shared_ptr<SessionImpl> qpid::client::ConnectionImpl::newSession | ( | const std::string & | name, | |
| uint32_t | timeout, | |||
| uint16_t | channel = 0 | |||
| ) |
| void qpid::client::ConnectionImpl::open | ( | ) |
| void qpid::framing::Handler< T >::operator() | ( | T | t | ) | [inline, inherited] |
Allow functor syntax for calling handle.
Definition at line 42 of file Handler.h.
References qpid::framing::Handler< T >::handle().
| void qpid::client::Bounds::reduce | ( | size_t | ) | [inherited] |
| void qpid::client::ConnectionImpl::registerFailureCallback | ( | boost::function< void()> | fn | ) | [inline] |
Definition at line 92 of file ConnectionImpl.h.
| void qpid::client::Bounds::setException | ( | const sys::ExceptionHolder & | ) | [inherited] |
| void qpid::client::ConnectionImpl::stopFailoverListener | ( | ) |
Handler<T>* qpid::framing::Handler< T >::next [inherited] |
1.5.7.1