Main Page | Class List | Directories | File List | Class Members

DiameterMip4HaClientSession< SpecificHaClientSession > Class Template Reference

#include <diameter_mip4_ha_client_session.hxx>

List of all members.

Public Member Functions

 DiameterMip4HaClientSession (AAAApplicationCore &appCore)
 Constuctor.
virtual ~DiameterMip4HaClientSession ()
 Destructor.
void RxMipRegReq (diameter_octetstring_t &mipRegReq)
DiameterMip4HaClientSessionSelf ()
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)
AAAReturnCode Reset () throw (AAA_Error)
virtual void Abort ()
void SetUserName (AAA_ScholarAttribute< diameter_utf8string_t > &userName)
void SetDestinationRealm (diameter_utf8string_t _destinationRealm)
void SetMipMnAaaAuth (AAA_ScholarAttribute< mip_mn_aaa_auth_info_t > &mipMnAaaAuth)
void SetDestinationHost (diameter_utf8string_t _destinationHost)
void SetMipMobileNodeAddress (AAA_ScholarAttribute< diameter_address_t > &mipMobileNodeAddress)
void SetMipHomeAgentAddress (AAA_ScholarAttribute< diameter_address_t > &mipHomeAgentAddress)
void SetAuthorizationLifetime (AAA_ScholarAttribute< diameter_unsigned32_t > &authorizationLifetime)
void SetMipHomeAgentHost (AAA_ScholarAttribute< mip_home_agent_host_info_t > &mipHomeAgentHost)
void SendMipRegReply (diameter_unsigned32_t &amaResultCode)
int IsMnHaKeyRequested ()
void EnforceMipMnToFaMsa (const mip_mn_to_fa_msa_info_t &mipMnToFaMsa)
void EnforceMipMnToHaMsa (const mip_mn_to_ha_msa_info_t &mipMnToHaMsa)
void EnforceMipFaToMnMsa (const mip_fa_to_mn_msa_info_t &mipFaToMnMsa)
void EnforceMipFaToHaMsa (const mip_fa_to_ha_msa_info_t &mipFaToHaMsa)
void EnforceMipHaToMnMsa (const mip_ha_to_mn_msa_info_t &mipHaToMnMsa)
void EnforceMipMsaLifetime (const diameter_unsigned32_t &mipMsaLifetime)
void EnforceErrorMessage (const diameter_utf8string_t &errorMessage)
AMR_Data & AMR ()
AMA_Data & AMA ()

Public Attributes

SpecificHaClientSession & specificHaClientSession

Classes

class  AMA_Handler


Detailed Description

template<class SpecificHaClientSession>
class DiameterMip4HaClientSession< SpecificHaClientSession >

Diameter MIP HA Client session. This class is defined as multiple inheritance, from AAAClientSession (defined in Diameter API), DiameterMip4HaClientStateMachine and the abstract interface Mip4DiameterHaClientInterface


Member Function Documentation

template<class SpecificHaClientSession>
AAAReturnCode DiameterMip4HaClientSession< SpecificHaClientSession >::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.

template<class SpecificHaClientSession>
AAAReturnCode DiameterMip4HaClientSession< SpecificHaClientSession >::HandleDisconnect  )  [inline]
 

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.

template<class SpecificHaClientSession>
AAAReturnCode DiameterMip4HaClientSession< SpecificHaClientSession >::HandleMessage AAAMessage &  msg  )  [inline]
 

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.

template<class SpecificHaClientSession>
AAAReturnCode DiameterMip4HaClientSession< SpecificHaClientSession >::HandleTimeout  )  [inline]
 

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.

template<class SpecificHaClientSession>
void DiameterMip4HaClientSession< SpecificHaClientSession >::SetDestinationHost diameter_utf8string_t  _destinationHost  )  [inline]
 

This function is used for setting Destination-Host AVP contents.

template<class SpecificHaClientSession>
void DiameterMip4HaClientSession< SpecificHaClientSession >::SetDestinationRealm diameter_utf8string_t  _destinationRealm  )  [inline]
 

This function is used for setting Destination-Realm AVP contents.


The documentation for this class was generated from the following file:
Generated on Thu Apr 7 09:08:51 2005 for Diameter Mobile IP v4 C++ API by  doxygen 1.4.2