Kea 3.1.1
isc::radius::InHook Class Reference

InHook class (RAII style). More...

#include <radius.h>

Public Member Functions

 InHook ()
 Constructor.
 
 ~InHook ()
 Destructor.
 

Static Public Member Functions

static bool check ()
 Check if the current thread is in hook code or not.
 

Detailed Description

InHook class (RAII style).

Definition at line 259 of file radius.h.

Constructor & Destructor Documentation

◆ InHook()

isc::radius::InHook::InHook ( )

Constructor.

Add the current thread id to the set.

Definition at line 493 of file radius.cc.

◆ ~InHook()

isc::radius::InHook::~InHook ( )

Destructor.

Remove the current thread id from the set.

Definition at line 502 of file radius.cc.

Member Function Documentation

◆ check()

bool isc::radius::InHook::check ( )
static

Check if the current thread is in hook code or not.

Definition at line 511 of file radius.cc.

Referenced by isc::radius::RadiusBackendImpl::get4(), and isc::radius::RadiusBackendImpl::get6().


The documentation for this class was generated from the following files: