OGLplus  (0.59.0) a C++ wrapper for rendering APIs

eagine::msgbus::acceptor Struct Referenceabstract

Interface for message bus connection acceptors. More...

#include <eagine/message_bus/acceptor.hpp>

Public Types

using accept_handler = callable_ref< void(std::unique_ptr< connection >)>
 Alias for accepted connection handler callable reference type.
 

Public Member Functions

virtual auto update () -> bool
 Updates the internal state of the acceptor (called repeatedly).
 
virtual auto process_accepted (const accept_handler &handler) -> bool=0
 Lets the handler process the pending accepted connections.
 
- Public Member Functions inherited from eagine::msgbus::connection_info
virtual auto kind () -> connection_kind=0
 Returns the connection kind.
 
virtual auto addr_kind () -> connection_addr_kind=0
 Returns the connection address kind.
 
virtual auto type_id () -> identifier=0
 Returns a description identifier of the implementation.
 
- Public Member Functions inherited from eagine::interface< connection_info >
constexpr interface (const interface &)=delete
 Not copyable.
 
auto operator= (interface &&)=delete
 Not move assignable.
 
auto operator= (const interface &)=delete
 Not copy assignable.
 

Additional Inherited Members

- Protected Member Functions inherited from eagine::interface< connection_info >
constexpr interface () noexcept=default
 Default constructible by derived.
 
constexpr interface (interface &&) noexcept=default
 Move constructible by derived.
 

Detailed Description

Interface for message bus connection acceptors.

See also
acceptor_user
connection

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

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).