-
Notifications
You must be signed in to change notification settings - Fork 23
QuantumGate::Peer::GetPeerEndpoint
Karel Donk edited this page Dec 26, 2021
·
1 revision
Gets the remote endpoint of the peer.
Result<Endpoint> GetPeerEndpoint() const noexcept;Returns a QuantumGate::Result containing, upon successful completion, a QuantumGate::Endpoint value with the remote endpoint of the peer.
The QuantumGate::Result object will equal one of the following QuantumGate::ResultCodes:
| Value | Description |
|---|---|
QuantumGate::ResultCode::Succeeded |
The operation succeeded. |
QuantumGate::ResultCode::PeerNotReady |
The operation failed because the peer wasn't ready. The connection to the peer may still be in the process of being established or may have been disconnected. |