async_mqtt 9.0.1
Loading...
Searching...
No Matches
role.hpp
1// Copyright Takatoshi Kondo 2022
2//
3// Distributed under the Boost Software License, Version 1.0.
4// (See accompanying file LICENSE_1_0.txt or copy at
5// http://www.boost.org/LICENSE_1_0.txt)
6
7#if !defined(ASYNC_MQTT_ROLE_HPP)
8#define ASYNC_MQTT_ROLE_HPP
9
15namespace async_mqtt {
16
26enum class role {
27 client = 0b01,
28 server = 0b10,
30 any = 0b11,
31};
32
33} // namespace async_mqtt
34
35#endif // ASYNC_MQTT_ROLE_HPP
MQTT client for casual usecases.
Definition client_fwd.hpp:82
role
MQTT endpoint connection role.
Definition role.hpp:26
@ any
can send all packets. (no check)