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

DiameterNasreqClientSession Class Reference

#include <diameter_nasreq_client_session.hxx>

Inheritance diagram for DiameterNasreqClientSession:

DiameterNasreqClientStateMachine List of all members.

Public Member Functions

 DiameterNasreqClientSession (AAAApplicationCore &, DiameterJobHandle &h)
 Constuctor.

 ~DiameterNasreqClientSession ()
 Destructor.

DiameterNasreqClientSessionSelf ()
AAAReturnCode HandleMessage (AAAMessage &msg)
AAAReturnCode HandleDisconnect ()
AAAReturnCode HandleSessionTimeout ()
 Reimplemented from AAAClientSession.

AAAReturnCode HandleAuthLifetimeTimeout ()
 Reimplemented from AAAClientSession.

AAAReturnCode HandleAuthGracePeriodTimeout ()
 Reimplemented from AAAClientSession.

AAAReturnCode HandleTimeout ()
AAAReturnCode HandleAbort ()
void Start () throw (AAA_Error)

Detailed Description

Client Diameter NASREQ session. This class is defined as multiple inheritance, one from AAAClientSession (defined in Diameter API) and the other from DiameterNasreqClientStateMachine.


Member Function Documentation

AAAReturnCode DiameterNasreqClientSession::HandleAbort  )  [inline]
 

Reimplemented from AAAClientSession. This is invoked during session abort event. Abort occurs when the server decides to terminate the client session by sending an ASR. It is the responsibility of the derived class to override this function and capture this events if it is interested in it.

AAAReturnCode DiameterNasreqClientSession::HandleDisconnect  ) 
 

Reimplemented from AAAClientSession. This is invoked during session disconnect event. Disconnection occurs when a session is terminated or the peer connection is disconnection and unable to recover. It is the responsibility of the derived class to override this function and capture this events if it is interested in it.

AAAReturnCode DiameterNasreqClientSession::HandleMessage AAAMessage &  msg  ) 
 

Reimplemented from AAAClientSession. This is invoked during incomming message events. The msg argument is pre-allocated by the library and is valid only within the context of this method. It is the responsibility of the derived class to override this function and capture the events if it is interested in it.

AAAReturnCode DiameterNasreqClientSession::HandleTimeout  ) 
 

Reimplemented from AAAClientSession. This is invoked during session timeout event. Timeout occurs when a session is idle (not re- authorization) for a specified amount of time. It is the responsibility of the derived class to override this function and capture this events if it is interested in it.


The documentation for this class was generated from the following file:
Generated on Fri Jun 25 19:15:16 2004 for Diameter NASREQ Application by doxygen 1.3.5