-
Notifications
You must be signed in to change notification settings - Fork 23
QuantumGate::Access::Manager::GetPeerAllowed
Karel Donk edited this page Aug 16, 2020
·
1 revision
Returns whether or not a peer is allowed to connect to the instance.
Result<bool> GetPeerAllowed(const PeerUUID& puuid) const noexcept;| Name | Description |
|---|---|
puuid |
The Universally Unique Identifier of the peer. See QuantumGate::UUID for more details. |
Returns a QuantumGate::Result object equal to one of the following QuantumGate::ResultCodes:
| Value | Description |
|---|---|
QuantumGate::ResultCode::Succeeded |
The operation succeeded. |
QuantumGate::ResultCode::Failed |
The operation failed. |
Upon successful completion the result contains a bool value equal to true indicating that the peer is allowed, or false indicating that the peer is not allowed.