|
Public Types |
enum | {
EvSgStart = -1,
EvRxEapResponse = -2,
EvRxDEA = -3,
EvRxAA_Answer = -4,
EvSgSessionTimeout = -5,
EvSgAuthLifetimeTimeout = -6,
EvSgAuthGracePeriodTimeout = -7,
EvSgTimeout = -8,
EvSgDisconnect = -9
} |
Public Member Functions |
| DiameterEapClientStateMachine (DiameterEapClientSession &s, DiameterJobHandle &h) |
| Constructor.
|
void | Notify (AAA_Event ev) |
| Store an event and notify the session.
|
DiameterEapClientSession & | Session () |
virtual void | Abort ()=0 |
void | SendDER () |
virtual void | SignalContinue (std::string &eapMsg)=0 |
virtual void | SignalSuccess (std::string &eapMsg)=0 |
virtual void | SignalFailure (std::string &eapMsg)=0 |
void | ForwardResponse (std::string &eapMsg) |
virtual void | SendAA_Request () |
virtual void | SignalReauthentication ()=0 |
virtual void | SignalDisconnect ()=0 |
AAA_JobData & | JobData () |
template<class T> T & | JobData (Type2Type< T >) |
virtual void | SetDestinationRealm (AAA_ScholarAttribute< diameter_utf8string_t > &destinationRealm) |
virtual void | SetDestinationHost (AAA_ScholarAttribute< diameter_utf8string_t > &destinationHost) |
virtual void | SetAuthRequestType (AAA_ScholarAttribute< diameter_enumerated_t > &authRequestType) |
virtual void | SetNasPort (AAA_ScholarAttribute< diameter_unsigned32_t > &nasPort) |
| This function is used for setting Nas-Port AVP contents.
|
virtual void | SetNasPortId (AAA_ScholarAttribute< diameter_utf8string_t > &nasPortId) |
| This function is used for setting Nas-Port-Id AVP contents.
|
virtual void | SetOriginStateId (AAA_ScholarAttribute< diameter_unsigned32_t > &originStateId) |
| This function is used for setting Origin-State-Id AVP contents.
|
virtual void | SetNasIdentifier (AAA_ScholarAttribute< diameter_utf8string_t > &nasIdentifier) |
| This function is used for setting Nas-Identifier AVP contents.
|
virtual void | SetNasIpAddress (AAA_ScholarAttribute< diameter_octetstring_t > &nasIpAddress) |
| This function is used for setting Nas-IP-Address AVP contents.
|
virtual void | SetNasIpv6Address (AAA_ScholarAttribute< diameter_octetstring_t > &nasIpv6Address) |
| This function is used for setting Nas-IPv6-Address AVP contents.
|
virtual void | SetUserName (AAA_ScholarAttribute< diameter_utf8string_t > &userName) |
| This function is used for setting User-Name AVP contents.
|
virtual void | SetServiceType (AAA_ScholarAttribute< diameter_enumerated_t > &serviceType) |
| This function is used for setting Service-Type AVP contents.
|
virtual void | SetIdleTimeout (AAA_ScholarAttribute< diameter_unsigned32_t > &idleTimeout) |
| This function is used for setting Idle-Timeout AVP contents.
|
virtual void | SetState (AAA_ScholarAttribute< diameter_octetstring_t > &state) |
| This function is used for setting State AVP contents.
|
virtual void | SetAuthorizationLifetime (AAA_ScholarAttribute< diameter_unsigned32_t > &authorizationLifetime) |
virtual void | SetAuthGracePeriod (AAA_ScholarAttribute< diameter_unsigned32_t > &authGracePeriod) |
virtual void | SetAuthSessionState (AAA_ScholarAttribute< diameter_enumerated_t > &authSessionState) |
virtual void | SetSessionTimeout (AAA_ScholarAttribute< diameter_unsigned32_t > &sessionTimeout) |
| This function is used for setting Session-Timeout AVP contents.
|
virtual void | SetClass (AAA_VectorAttribute< diameter_octetstring_t > &classInDER) |
| This function is used for setting Class AVP contents.
|
virtual void | SetPortLimit (AAA_ScholarAttribute< diameter_unsigned32_t > &portLimit) |
| This function is used for setting Port-Limit AVP contents.
|
virtual void | SetCallbackNumber (AAA_ScholarAttribute< diameter_utf8string_t > &callbackNumber) |
| This function is used for setting Callback-Number AVP contents.
|
virtual void | SetCalledStationId (AAA_ScholarAttribute< diameter_utf8string_t > &calledStationId) |
virtual void | SetCallingStationId (AAA_ScholarAttribute< diameter_utf8string_t > &callingStationId) |
virtual void | SetOriginatingLineInfo (AAA_ScholarAttribute< diameter_octetstring_t > &originatingLineInfo) |
virtual void | SetConnectInfo (AAA_ScholarAttribute< diameter_utf8string_t > &connectInfo) |
| This function is used for setting Connect-Info AVP contents.
|
virtual void | SetFramedCompression (AAA_VectorAttribute< diameter_enumerated_t > &framedCompression) |
virtual void | SetFramedInterfaceId (AAA_ScholarAttribute< diameter_unsigned64_t > &framedInterfaceId) |
virtual void | SetFramedIpAddress (AAA_ScholarAttribute< diameter_octetstring_t > &framedIpAddress) |
virtual void | SetFramedIpv6Prefix (AAA_VectorAttribute< diameter_octetstring_t > &framedIpv6Prefix) |
virtual void | SetFramedIpNetmask (AAA_ScholarAttribute< diameter_octetstring_t > &framedIpNetmask) |
virtual void | SetFramedMtu (AAA_ScholarAttribute< diameter_unsigned32_t > &framedMtu) |
| This function is used for setting Framed-MTU AVP contents.
|
virtual void | SetFramedProtocol (AAA_ScholarAttribute< diameter_enumerated_t > &framedProtocol) |
| This function is used for setting Framed-Protocol AVP contents.
|
virtual void | SetTunneling (AAA_VectorAttribute< tunneling_t > &tunneling) |
| This function is used for setting Framed-Tunneling AVP contents.
|
virtual void | EnforceMultiRoundTimeOut (const diameter_unsigned32_t &multiRoundTimeout) |
virtual void | EnforceServiceType (const diameter_enumerated_t &serviceTypeInDEA) |
| This function is used for enforcing Service-Type AVP contents.
|
virtual void | EnforceClass (const std::vector< diameter_octetstring_t > &classInDEA) |
| This function is used for enforcing Class AVP contents.
|
virtual void | EnforceAcctInterimInterval (const diameter_unsigned32_t &acctInterimInterval) |
virtual void | EnforceIdleTimeout (const diameter_unsigned32_t &idleTimeout) |
virtual void | EnforceAuthorizationLifetime (const diameter_unsigned32_t &authorizationLifetime) |
virtual void | EnforceAuthGracePeriod (const diameter_unsigned32_t &authGracePeriod) |
virtual void | EnforceAuthSessionState (const diameter_enumerated_t &authSessionState) |
virtual void | EnforceReAuthRequestType (const diameter_enumerated_t &reAuthRequestType) |
virtual void | EnforceSessionTimeout (const diameter_unsigned32_t &sessionTimeout) |
virtual void | EnforceFilterId (const std::vector< diameter_utf8string_t > &filterId) |
| This function is used for enforcing Filter-Id AVP contents.
|
virtual void | EnforcePortLimit (const diameter_unsigned32_t &portLimit) |
| This function is used for enforcing Port-Limit AVP contents.
|
virtual void | EnforceCallbackId (const diameter_utf8string_t &callbackId) |
| This function is used for enforcing Callback-Id AVP contents.
|
virtual void | EnforceCallbackNumber (const diameter_utf8string_t &callbackNumberInDEA) |
| This function is used for enforcing Callback-Number AVP contents.
|
virtual void | EnforceFramedAppletalkLink (const diameter_unsigned32_t &framedAppletalkLink) |
virtual void | EnforceFramedAppletalkZone (const diameter_octetstring_t &framedAppletalkZone) |
virtual void | EnforceFramedAppletalkNetwork (const std::vector< diameter_unsigned32_t > &framedAppletalkNetwork) |
virtual void | EnforceFramedCompression (const std::vector< diameter_enumerated_t > &framedCompression) |
virtual void | EnforceFramedInterfaceId (const diameter_unsigned64_t &framedInterfaceId) |
virtual void | EnforceFramedIpAddress (const diameter_octetstring_t &framedIpAddress) |
virtual void | EnforceFramedIpv6Prefix (const std::vector< diameter_octetstring_t > &framedIpv6Prefix) |
virtual void | EnforceFramedIpv6Pool (const diameter_octetstring_t &framedIpv6Pool) |
virtual void | EnforceFramedPool (const diameter_octetstring_t &framedPool) |
| This function is used for enforcing Framed-Pool AVP contents.
|
virtual void | EnforceFramedIpv6Route (const std::vector< diameter_utf8string_t > &framedIpv6Route) |
| This function is used for enforcing Framed-IPv6-Route AVP contents.
|
virtual void | EnforceFramedIpNetmask (const diameter_octetstring_t &framedIpNetmaskInDEA) |
virtual void | EnforceFramedIpxNetwork (const diameter_utf8string_t &framedIpxNetwork) |
virtual void | EnforceFramedMtu (const diameter_unsigned32_t &framedMtu) |
| This function is used for enforcing Framed-MTU AVP contents.
|
virtual void | EnforceFramedProtocol (const diameter_enumerated_t &framedProtocol) |
virtual void | EnforceFramedRouting (const diameter_enumerated_t &framedRouting) |
virtual void | EnforceNasFilterRule (const std::vector< diameter_ipfilter_rule_t > &nasFilterRule) |
virtual void | EnforceTunneling (const std::vector< tunneling_t > &tunneling) |
virtual void | EnforceEapMasterSessionKey (const diameter_octetstring_t &eapMasterSessionKey) |
virtual void | EnforceAccountingEapAuthMethod (const std::vector< diameter_unsigned64_t > &accountingEapAuthMethodInDEA) |
DER_Data & | DER () |
DEA_Data & | DEA () |
Friends |
class | DiameterJobMultiplexor |