|
Public Types |
| enum | EapPeerDecision { FAIL,
COND_SUCC,
UNCOND_SUCC
} |
| | Decision variable definition.
|
| enum | EapPeerMethodState {
NONE,
INIT,
CONT,
MAY_CONT,
DONE
} |
| enum | event { EvRxMsg = -1,
EvSgPortEnabled = -2,
EvSgValidReq = -3,
EvSgInvalidReq = -4
} |
| | External events passed from applications and methods.
|
Public Member Functions |
|
void | Start () throw (AAA_Error) |
|
void | Notify (AAA_Event ev) |
| | Called by any switch or method state machine.
|
| void | Receive (AAAMessageBlock *) |
| virtual void | Success ()=0 |
| virtual void | Failure ()=0 |
|
virtual void | Notification (std::string &str)=0 |
| | A callback function called when Notification message is received.
|
| virtual std::string & | InputIdentity ()=0 |
|
bool & | NotificationAllowed () |
| | This function is returns a reference to notificationAllowed.
|
|
std::string & | NotificationString () |
| | This function is returns a reference to notificationStr.
|
|
ACE_UINT16 & | AuthPeriod () |
| | Use this function to obtain the reference to client timeout value.
|
|
ACE_Byte & | LastIdentifier () |
| | Use this function to obtain the reference to lastIdentifier.
|
|
bool & | LastIdValidity () |
| | Use this function to obtain the reference to lastIdValidity.
|
|
EapType & | ReqMethod () |
| | Use this function to obtain the reference to reqMethod.
|
|
bool & | ReceivedFirstRequest () |
| | Use this function to obtain the reference to receivedFirstRequest.
|
|
EapInputIdentityTask & | InputIdentityTask () |
| | Use this function to obtain the reference to inputIdentityTask.
|
|
EapFutureStringResult & | FutureIdentity () |
| | Use this function to obtain the reference to futureIdentity.
|
|
int | InputIdentityTimerType () |
| | Use this function to obtain identityInputTimerType.
|
|
EapPeerDecision & | Decision () |
|
EapPeerMethodState & | MethodState () |
Protected Member Functions |
|
| EapPeerSwitchStateMachine (ACE_Reactor &r, EapJobHandle &h) |
Protected Attributes |
| ACE_Byte | lastIdentifier |
| bool | lastIdValidity |
|
ACE_UINT16 | authPeriod |
| | Authorization period.
|
| bool | receivedFirstRequest |
|
bool | notificationAllowed |
| | This is used to retain the status of Notification message handling.
|
|
std::string | notificationStr |
| | Notification payload is stored here.
|
|
EapType | reqMethod |
| | reqMethod or the method contained in the received request.
|
|
EapInputIdentityTask | inputIdentityTask |
| | A handle to the thread that is spawned for identity input.
|
| EapFutureStringResult | futureIdentity |
|
int | inputIdentityTimerType |
| | Timer type used for input identity timer;.
|
|
EapPeerDecision | decision |
| | This variable stores peer decision.
|
|
EapPeerMethodState | methodState |
| | This variable stores external method state.
|
Static Protected Attributes |
|
const ACE_UINT16 | defaultAuthPeriod |
| | The default value for client timeout.
|
Friends |
|
class | EapPeerSwitchStateTable_S |