Apache Qpid C++ API
Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation

qpid::framing::Handler< T > Struct Template Reference

#include <Handler.h>

Inherited by qpid::framing::ChannelHandler, qpid::framing::Handler< T >::Functor< F >, qpid::framing::Handler< T >::MemFunRef< X, F >, qpid::framing::Handler< T >::MemFunRef< qpid::framing::Handler::InOutHandlerInterface,&InOutHandlerInterface::handleIn >, qpid::framing::Handler< T >::MemFunRef< qpid::framing::Handler::InOutHandlerInterface,&InOutHandlerInterface::handleOut >, qpid::framing::InputHandler, and qpid::framing::OutputHandler.

List of all members.

Public Types

typedef T HandledType
typedef void handleFptr (T)
typedef void result_type

Public Member Functions

 Handler (Handler< T > *next_=0)
virtual ~Handler ()
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.

Classes

class  Functor
 Adapt any void(T) functor as a Handler. More...
struct  InOutHandler
 Support for implementing an in-out handler pair as a single class. More...
class  InOutHandlerInterface
 Interface for a handler that implements a pair of in/out handle operations. More...
class  MemFunRef
 Adapt a member function of X as a Handler. More...


Detailed Description

template<class T>
struct qpid::framing::Handler< T >

Definition at line 32 of file Handler.h.


Member Typedef Documentation

template<class T>
typedef T qpid::framing::Handler< T >::HandledType

Definition at line 33 of file Handler.h.

template<class T>
typedef void qpid::framing::Handler< T >::handleFptr(T)

Definition at line 34 of file Handler.h.

template<class T>
typedef void qpid::framing::Handler< T >::result_type

Definition at line 35 of file Handler.h.


Constructor & Destructor Documentation

template<class T>
qpid::framing::Handler< T >::Handler ( Handler< T > *  next_ = 0  )  [inline]

Definition at line 37 of file Handler.h.

template<class T>
virtual qpid::framing::Handler< T >::~Handler (  )  [inline, virtual]

Definition at line 38 of file Handler.h.


Member Function Documentation

template<class T>
virtual void qpid::framing::Handler< T >::handle (  )  [pure virtual]

Implemented in qpid::client::ConnectionImpl, qpid::framing::Handler< T >::Functor< F >, qpid::framing::Handler< T >::MemFunRef< X, F >, qpid::framing::Handler< T >::MemFunRef< qpid::framing::Handler::InOutHandlerInterface,&InOutHandlerInterface::handleOut >, and qpid::framing::Handler< T >::MemFunRef< qpid::framing::Handler::InOutHandlerInterface,&InOutHandlerInterface::handleIn >.

Referenced by qpid::framing::Handler< AMQFrame & >::operator()(), and qpid::framing::Relay::operator()().

template<class T>
void qpid::framing::Handler< T >::operator() ( t  )  [inline]

Allow functor syntax for calling handle.

Definition at line 42 of file Handler.h.


Member Data Documentation

template<class T>
Handler<T>* qpid::framing::Handler< T >::next

Pointer to next handler in a linked list.

Definition at line 46 of file Handler.h.

Referenced by qpid::framing::ChannelHandler::handle().


The documentation for this struct was generated from the following file:
Qpid C++ API Reference
Generated on Tue Dec 8 15:39:37 2009 for Qpid C++ Client API by doxygen 1.4.7