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
15
namespace
async_mqtt {
16
26
enum class
role
{
27
client
= 0b01,
28
server
= 0b10,
30
any
= 0b11,
31
};
32
33
}
// namespace async_mqtt
34
35
#endif
// ASYNC_MQTT_ROLE_HPP
async_mqtt::client
MQTT client for casual usecases.
Definition
client_fwd.hpp:82
async_mqtt::role
role
MQTT endpoint connection role.
Definition
role.hpp:26
async_mqtt::role::any
@ any
can send all packets. (no check)
async_mqtt::role::server
@ server
include
async_mqtt
role.hpp
Generated by
1.12.0