Main Page | Class Hierarchy | Class List | File List | Class Members

AAASessionMessageHandler Class Reference

Message Handler Class definition. More...

#include <diameter_api.h>

Inheritance diagram for AAASessionMessageHandler:

AAAEventHandler List of all members.

Public Member Functions

 AAASessionMessageHandler (AAAApplicationCore &appCore, AAACommandCode cmdCode)
AAACommandCode GetCommandCode ()

Detailed Description

Message Handler Class definition.

This class provides strict association between a handler and a message command code. The methology used in message handlering is that there is a one-to-one association between a command code and a message event handler. Hence, applications wishing to process a specific message needs to inherit this class and implement it's HandleMessage() method to receive messages with the specified command code.


Constructor & Destructor Documentation

AAASessionMessageHandler::AAASessionMessageHandler AAAApplicationCore appCore,
AAACommandCode  cmdCode
 

constructor

This constructor forces a strict association with the message command code and the instance of this handler.

Parameters:
appCore Application core instance
cmdCode Command code to remove handler from


Member Function Documentation

AAACommandCode AAASessionMessageHandler::GetCommandCode  )  [inline]
 

Access method to retrive command code value


The documentation for this class was generated from the following file:
Generated on Fri Jun 25 19:12:02 2004 for Open Diameter C++ API by doxygen 1.3.5