|
CppWAMP
C++11 client library for the WAMP protocol
|
Represents a remote procedure registration. More...
#include <cppwamp/registration.hpp>

Public Member Functions | |
| Registration () | |
| Constructs an empty registration. More... | |
| Registration (const Registration &other) | |
| Copy constructor. | |
| Registration (Registration &&other) noexcept | |
| Move constructor. More... | |
| operator bool () const | |
| Returns false if the registration is empty. | |
| RegistrationId | id () const |
| Obtains the ID number of this registration. | |
| Registration & | operator= (const Registration &other) |
| Copy assignment. | |
| Registration & | operator= (Registration &&other) noexcept |
| Move assignment. More... | |
| void | unregister () const |
| Unregisters the RPC. | |
Represents a remote procedure registration.
A Registration is a lightweight object returned by the enroll member functions of the Session family of classes. This objects allows users to unregister the RPC registration.
It is always safe to unregister via a Registration object. If the Session or the registration no longer exists, an unregister operation effectively does nothing.
| wamp::Registration::Registration | ( | ) |
Constructs an empty registration.
!!(*this) == false
|
noexcept |
Move constructor.
!other == true
|
noexcept |
Move assignment.
!other == true