Skip to content

QuantumGate::ConnectCallback

Karel Donk edited this page Aug 16, 2020 · 6 revisions

This callback function gets called after the QuantumGate instance has tried to establish a connection and was either successful or has failed.

Declaration

Callback<void(PeerLUID, Result<Peer>)>;

Parameters

Type Description
PeerLUID The Locally Unique Identifier of the peer.
Result<Peer> Indicates whether the connection was successfully made, and if so, contains a Peer object representing the connected peer.
Clone this wiki locally