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

qpid::framing::ChannelHandler Class Reference

Sets the channel number on outgoing frames. More...

#include <ChannelHandler.h>

List of all members.

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
ChannelHandlerset (uint16_t ch)
 operator uint16_t () const
ChannelHandleroperator= (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.


Detailed Description

Sets the channel number on outgoing frames.

Definition at line 33 of file ChannelHandler.h.


Member Typedef Documentation

template<class T >
typedef T qpid::framing::Handler< T >::HandledType [inherited]

Definition at line 33 of file Handler.h.

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

Definition at line 35 of file Handler.h.


Constructor & Destructor Documentation

qpid::framing::ChannelHandler::ChannelHandler ( uint16_t  channelId = 0,
FrameHandler next = 0 
) [inline]

Definition at line 36 of file ChannelHandler.h.


Member Function Documentation

uint16_t qpid::framing::ChannelHandler::get (  )  const [inline]

Definition at line 42 of file ChannelHandler.h.

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

void qpid::framing::ChannelHandler::handle ( AMQFrame frame  )  [inline]

template<class T >
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.

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

Allow functor syntax for calling handle.

Definition at line 42 of file Handler.h.

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.


Member Data Documentation

template<class T >
Handler<T>* qpid::framing::Handler< T >::next [inherited]

Pointer to next handler in a linked list.

Definition at line 46 of file Handler.h.

Referenced by handle().


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

Qpid C++ API Reference
Generated on Thu Mar 19 15:24:04 2009 for Qpid C++ Client API by doxygen 1.5.7.1