class DeviceAdapterParent
Defined at line 30 of file ../../src/connectivity/network/tun/network-tun/device_adapter.h
An abstract DeviceAdapter parent.
This abstract class allows the owner of a `DeviceAdapter` to change its behavior and be notified
of important events.
Public Methods
void RequestErrorUnbind ()
Requests that the device adapter be destroyed, it encountered an
unrecoverable error.
const BaseDeviceConfig & config ()
Gets the DeviceAdapter's configuration.
void OnTxAvail (DeviceAdapter * device)
Called when transmit buffers become available.
void OnRxAvail (DeviceAdapter * device)
Called when receive buffers become available.
void ~DeviceAdapterParent ()
Defined at line 32 of file ../../src/connectivity/network/tun/network-tun/device_adapter.h