Kea 3.1.7
isc::dhcp::IfaceMgr::SocketCallbackInfo Struct Reference

Keeps callback information for external sockets. More...

#include <iface_mgr.h>

Public Member Functions

 SocketCallbackInfo (int socket)
 Constructor.

Public Attributes

SocketCallback callback_
 A callback that will be called when data arrives over socket_.
int socket_
 Socket descriptor of the external socket.
bool unusable_
 Indicates if the socket can no longer be used for normal operations.

Detailed Description

Keeps callback information for external sockets.

Definition at line 700 of file iface_mgr.h.

Constructor & Destructor Documentation

◆ SocketCallbackInfo()

isc::dhcp::IfaceMgr::SocketCallbackInfo::SocketCallbackInfo ( int socket)
inline

Constructor.

Parameters
socketThe socket descriptor.

Definition at line 714 of file iface_mgr.h.

References callback_, socket_, and unusable_.

Member Data Documentation

◆ callback_

SocketCallback isc::dhcp::IfaceMgr::SocketCallbackInfo::callback_

A callback that will be called when data arrives over socket_.

Definition at line 705 of file iface_mgr.h.

Referenced by SocketCallbackInfo(), and isc::dhcp::IfaceMgr::addExternalSocket().

◆ socket_

int isc::dhcp::IfaceMgr::SocketCallbackInfo::socket_

Socket descriptor of the external socket.

Definition at line 702 of file iface_mgr.h.

Referenced by SocketCallbackInfo().

◆ unusable_

bool isc::dhcp::IfaceMgr::SocketCallbackInfo::unusable_

Indicates if the socket can no longer be used for normal operations.

Definition at line 709 of file iface_mgr.h.

Referenced by SocketCallbackInfo().


The documentation for this struct was generated from the following file: