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

AAAServerSession Class Reference

Session Server Definition. More...

#include <diameter_api.h>

Inheritance diagram for AAAServerSession:

AAASession AAAEventHandler List of all members.

Public Member Functions

 AAAServerSession (AAAApplicationCore &appCore, diameter_unsigned32_t id)
virtual ~AAAServerSession ()
AAAReturnCode Update (AAASession::EVENT event)
AAAReturnCode Abort ()

Detailed Description

Session Server Definition.

Derived class to provide functionality of a diameter server. See notes on AAASession base class for notes on AAAEventHandler methods. Note that applications MAY derive from this class or use it directly. Typically, a AAAServerSession or its derived object is created by the application core on arrival of a request message with no matching session. The application SHOULD NOT creat instances of AAAServerSession but allow AAAServerSessionCreator object to do this process.


Constructor & Destructor Documentation

AAAServerSession::AAAServerSession AAAApplicationCore appCore,
diameter_unsigned32_t  id
 

constructor

Parameters:
appCore Application core instance
id Application ID associated with this session

virtual AAAServerSession::~AAAServerSession  )  [virtual]
 

destructor


Member Function Documentation

AAAReturnCode AAAServerSession::Abort  ) 
 

This function allows the server to terminate a session after being accepted.

AAAReturnCode AAAServerSession::Update AAASession::EVENT  event  )  [virtual]
 

This functions is a server impelmentation of the update base function.

Parameters:
event Session event to update state machine with

Implements AAASession.


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