C++ Actor Framework 1.0.0
|
Generic handle type for identifying datagram endpoints. More...
#include <datagram_handle.hpp>
Public Types | |
using | super = handle<datagram_handle, invalid_datagram_handle_t> |
Public Member Functions | |
constexpr | datagram_handle (const invalid_datagram_handle_t &) |
Public Member Functions inherited from caf::handle< datagram_handle, invalid_datagram_handle_t > | |
handle (const datagram_handle &other) | |
handle (const handle &other)=default | |
handle & | operator= (const handle &other) |
handle & | operator= (const invalid_datagram_handle_t &) |
int64_t | id () const |
Returns the unique identifier of this handle. | |
void | set_id (int64_t value) |
Sets the unique identifier of this handle. | |
int64_t | compare (const datagram_handle &other) const |
int64_t | compare (const invalid_datagram_handle_t &) const |
bool | invalid () const |
void | set_invalid () |
Friends | |
class | handle< datagram_handle, invalid_datagram_handle_t > |
template<class Inspector > | |
bool | inspect (Inspector &f, datagram_handle &x) |
Additional Inherited Members | |
Static Public Member Functions inherited from caf::handle< datagram_handle, invalid_datagram_handle_t > | |
static datagram_handle | from_int (int64_t id) |
Protected Member Functions inherited from caf::handle< datagram_handle, invalid_datagram_handle_t > | |
handle (int64_t handle_id) | |
Protected Attributes inherited from caf::handle< datagram_handle, invalid_datagram_handle_t > | |
int64_t | id_ |
Generic handle type for identifying datagram endpoints.