cppnet
C++ network utilities for asynchronous servers.
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
net::service::detail::null_service Struct Reference

Null service that services as a ServiceLike placeholder. More...

#include <net/service/context_thread.hpp>

Static Public Member Functions

static auto signal_handler (int signum) noexcept -> void
 signal handling placeholder.
 
static auto start (async_context &ctx) noexcept -> std::error_code
 start placeholder.
 

Detailed Description

Null service that services as a ServiceLike placeholder.

Member Function Documentation

◆ signal_handler()

static auto net::service::detail::null_service::signal_handler ( int  signum) -> void
inlinestaticnoexcept

signal handling placeholder.

Parameters
signumThe signal number to handle.

◆ start()

static auto net::service::detail::null_service::start ( async_context ctx) -> std::error_code
inlinestaticnoexcept

start placeholder.

Parameters
ctxThe asynchronous context to start on.
Returns
A successful error code.

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