Skip to content

QuantumGate::Peer::GetConnectionAlgorithms

Karel Donk edited this page Aug 10, 2020 · 1 revision

Gets the algorithms used during the connection to the peer. See QuantumGate::Peer::ConnectionAlgorithms for more information.

Signature

Result<ConnectionAlgorithms> GetConnectionAlgorithms() const noexcept;

Return values

Returns a QuantumGate::Result containing, upon successful completion, the connection algorithms used.

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.
Clone this wiki locally