Net module

SocketAdapter::DispatchScope

Defers receiver cleanup while any onSocketXxx dispatch loop is on the stack, so re-entrant callbacks cannot shrink `_rec

DispatchScope

#include <icy/net/socketadapter.h>

struct DispatchScope

Defined in src/net/include/icy/net/socketadapter.h:146

Defers receiver cleanup while any onSocketXxx dispatch loop is on the stack, so re-entrant callbacks cannot shrink _receivers under it.

Public Attributes

ReturnNameDescription
SocketAdapter *self

self

SocketAdapter * self

Type: SocketAdapter *

Defined in src/net/include/icy/net/socketadapter.h:148

Public Methods

ReturnNameDescription
DispatchScope inline explicit
~DispatchScope inline

DispatchScope

inline explicit

inline explicit DispatchScope(SocketAdapter * adapter)

Defined in src/net/include/icy/net/socketadapter.h:149


~DispatchScope

inline

inline ~DispatchScope()

Defined in src/net/include/icy/net/socketadapter.h:153