abs_eap_stack_interface_c Class Reference
class abs_eap_stack_interface_c
|
The
abs_eap_stack_interface_c
class declares common pure virtual functions a lower layer class of EAP-stack could call from upper layer class. Main purpose of this interface is documenting those functions. Note the each interface could include other functions too. Those are defined in each individual interface.
Constructor & Destructor Documentation
abs_eap_stack_interface_c()
abs_eap_stack_interface_c
|
(
|
)
|
[inline]
|
~abs_eap_stack_interface_c()
~abs_eap_stack_interface_c
|
(
|
)
|
[inline, virtual]
|
Member Functions Documentation
configure()
The
configure()
function is called after the constructor of the object is successfully executed. During the function call the object could query the configuration. Each derived class must define this function. Needed configuration depends on the implementation.
get_is_valid()
bool
|
get_is_valid
|
(
|
)
|
[pure virtual]
|
Object must indicate it's validity. If object initialization fails this function must return false.
packet_process(const eap_am_network_id_c *const, eap_general_header_base_c *const, const u32_t)
The
packet_process()
function processes the received packet. The return value of this function should be used only for traces and error counters. You MUST NOT make any decision of authentication session based on the return value. The stack calls
abs_eap_core_c::state_notification()
function when authentication session terminates unsuccessfully or ends successfully. You MUST make decision of authentication session based on the state_notification() call. See more
abs_eap_core_c::state_notification()
.
Parameters
const
eap_am_network_id_c
*const receive_network_id
|
carries the addresses and type of the received packet.
|
eap_general_header_base_c
*const packet_data
|
includes the buffer of the packet.
|
const
u32_t
packet_length
|
is length in bytes of the EAP-packet.
|
set_is_valid()
void
|
set_is_valid
|
(
|
)
|
[private, pure virtual]
|
The
set_is_valid()
function sets the state of the object valid. The creator of this object calls this function after it is initialized.
shutdown()
The
shutdown()
function is called before the destructor of the object is executed. During the function call the object could shutdown the operations, for example cancel timers. Each derived class must define this function.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.