Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
#include <ChannelHandler.h>
Public Types | |
typedef T | HandledType |
typedef void | result_type |
Public Member Functions | |
ChannelHandler (uint16_t channelId=0, FrameHandler *next=0) | |
void | handle (AMQFrame &frame) |
uint16_t | get () const |
ChannelHandler & | set (uint16_t ch) |
operator uint16_t () const | |
ChannelHandler & | operator= (uint16_t ch) |
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 33 of file ChannelHandler.h.
typedef T qpid::framing::Handler< T >::HandledType [inherited] |
typedef void qpid::framing::Handler< T >::result_type [inherited] |
qpid::framing::ChannelHandler::ChannelHandler | ( | uint16_t | channelId = 0 , |
|
FrameHandler * | next = 0 | |||
) | [inline] |
Definition at line 36 of file ChannelHandler.h.
uint16_t qpid::framing::ChannelHandler::get | ( | ) | const [inline] |
Definition at line 42 of file ChannelHandler.h.
virtual void qpid::framing::Handler< T >::handle | ( | T | ) | [pure virtual, inherited] |
Implemented in qpid::framing::Handler< T >::Functor< F >, qpid::framing::Handler< T >::MemFunRef< X, F >, qpid::framing::Handler< T >::MemFunRef< qpid::framing::Handler::InOutHandlerInterface,&InOutHandlerInterface::handleOut >, qpid::framing::Handler< T >::MemFunRef< qpid::framing::Handler::InOutHandlerInterface,&InOutHandlerInterface::handleIn >, and qpid::framing::Handler< T >::MemFunRef< qpid::client::SessionImpl,&SessionImpl::proxyOut >.
Referenced by qpid::framing::Handler< AMQFrame & >::operator()(), and qpid::framing::Relay::operator()().
void qpid::framing::ChannelHandler::handle | ( | AMQFrame & | frame | ) | [inline] |
Definition at line 38 of file ChannelHandler.h.
References qpid::framing::Handler< T >::next, and qpid::framing::AMQFrame::setChannel().
typedef void qpid::framing::Handler< T >::handleFptr | ( | T | ) | [inherited] |
qpid::framing::ChannelHandler::operator uint16_t | ( | ) | const [inline] |
Definition at line 44 of file ChannelHandler.h.
void qpid::framing::Handler< T >::operator() | ( | T | t | ) | [inline, inherited] |
ChannelHandler& qpid::framing::ChannelHandler::operator= | ( | uint16_t | ch | ) | [inline] |
Definition at line 45 of file ChannelHandler.h.
ChannelHandler& qpid::framing::ChannelHandler::set | ( | uint16_t | ch | ) | [inline] |
Definition at line 43 of file ChannelHandler.h.
Handler<T>* qpid::framing::Handler< T >::next [inherited] |