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

DiameterMip4FaClientSession< SpecificFaClientSession > Class Template Reference

#include <diameter_mip4_fa_client_session.hxx>

List of all members.

Public Member Functions

 DiameterMip4FaClientSession (AAAApplicationCore &appCore)
 Constuctor.
virtual ~DiameterMip4FaClientSession ()
 Destructor.
void RxMipRegReq (diameter_octetstring_t &mipRegReq)
DiameterMip4FaClientSessionSelf ()
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)
virtual void SetDestinationRealm (AAA_ScholarAttribute< diameter_utf8string_t > &destinationRealm)
void SetMipMnAaaAuth (AAA_ScholarAttribute< mip_mn_aaa_auth_info_t > &mipMnAaaAuth)
void SetDestinationHost (AAA_ScholarAttribute< diameter_utf8string_t > &destinationHost)
void SetMipMobileNodeAddress (AAA_ScholarAttribute< diameter_address_t > &mipMobileNodeAddress)
void SetMipHomeAgentAddress (AAA_ScholarAttribute< diameter_address_t > &mipHomeAgentAddress)
int IsMnHaKeyRequested ()
int IsMnFaKeyRequested ()
int IsFaHaKeyRequested ()
int IsMnHomeAddrRequested ()
int IsMnHomeAgentRequested ()
void SetAuthorizationLifetime (AAA_ScholarAttribute< diameter_unsigned32_t > &authorizationLifetime)
void SetMipHomeAgentHost (AAA_ScholarAttribute< mip_home_agent_host_info_t > &mipHomeAgentHost)
virtual int SetMipFaChallenge (AAA_ScholarAttribute< diameter_octetstring_t > &mipFaChallenge)
virtual void SetMipCandidateHomeAgentHost (AAA_ScholarAttribute< diameter_identity_t > &mipCandidateHomeAgentHost)
virtual int SetMipHaToFaSpi (AAA_ScholarAttribute< diameter_unsigned32_t > &mipHaToFaSpi)
void EnforceAuthorizationLifetime (const diameter_unsigned32_t &authorizationLifetime)
void EnforceAuthSessionState (const diameter_enumerated_t &authSessionState)
void EnforceReAuthRequestType (const diameter_enumerated_t &reAuthReqType)
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)
void EnforceMipFilterRule (const AAA_VectorAttribute< diameter_ipfilter_rule_t > &mipFilterRule)
void SendMipRegReply (diameter_unsigned32_t &amaResultCode)
void SendMipRegReply (diameter_unsigned32_t &amaResultCode, diameter_octetstring_t &mipRegReply)
AMR_Data & AMR ()
AMA_Data & AMA ()

Public Attributes

SpecificFaClientSession & specificFaClientSession

Classes

class  AMA_Handler


Detailed Description

template<class SpecificFaClientSession>
class DiameterMip4FaClientSession< SpecificFaClientSession >

Diameter MIP FA Client session. This class is defined as multiple inheritance, from AAAClientSession (defined in Diameter API), DiameterMip4FaClientStateMachine and the abstract interface Mip4DiameterFaClientInterface


Member Function Documentation

template<class SpecificFaClientSession>
AAAReturnCode DiameterMip4FaClientSession< SpecificFaClientSession >::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 SpecificFaClientSession>
AAAReturnCode DiameterMip4FaClientSession< SpecificFaClientSession >::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 SpecificFaClientSession>
AAAReturnCode DiameterMip4FaClientSession< SpecificFaClientSession >::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 SpecificFaClientSession>
AAAReturnCode DiameterMip4FaClientSession< SpecificFaClientSession >::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 SpecificFaClientSession>
void DiameterMip4FaClientSession< SpecificFaClientSession >::SetDestinationHost AAA_ScholarAttribute< diameter_utf8string_t > &  destinationHost  )  [inline]
 

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

template<class SpecificFaClientSession>
virtual void DiameterMip4FaClientSession< SpecificFaClientSession >::SetDestinationRealm AAA_ScholarAttribute< diameter_utf8string_t > &  destinationRealm  )  [inline, virtual]
 

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