![]() |
Kea 3.1.1
|
Class of pending Radius access requests. More...
#include <radius_access.h>
Public Member Functions | |
void | clear () |
Clear the map. | |
RadiusAuthPendingRequestPtr< PktPtrType > | get (const std::vector< uint8_t > &id) const |
Get a pending access request from the map. | |
void | remove (const std::vector< uint8_t > &id) |
Remove a pending access request from the map. | |
void | set (const std::vector< uint8_t > &id, PktPtrType query) |
Set a pending access request into the map. | |
size_t | size () const |
Size of the map. | |
Public Attributes | |
std::mutex | mutex_ |
The mutex. | |
Class of pending Radius access requests.
PktPtrType | Either Pkt4Ptr or Pkt6Ptr. |
Definition at line 48 of file radius_access.h.
|
inline |
Clear the map.
Definition at line 59 of file radius_access.h.
|
inline |
Get a pending access request from the map.
id | The Radius id. |
Definition at line 68 of file radius_access.h.
|
inline |
Remove a pending access request from the map.
id | The Radius id. |
Definition at line 91 of file radius_access.h.
|
inline |
Set a pending access request into the map.
Assume that get was called before and returned null.
id | The Radius id. |
query | The query which triggered the access request. |
Definition at line 83 of file radius_access.h.
|
inline |
std::mutex isc::radius::RadiusAuthPendingRequests< PktPtrType >::mutex_ |