Skip to content

QuantumGate Callbacks

Karel Donk edited this page Jan 18, 2020 · 6 revisions

Callback functions are used within QuantumGate to asynchronously notify you of certain events taking place on an instance. You can usually pass them into an instance as a parameter to another function call.

The basic type of a callback function is QuantumGate::Callback. The signature of the function is specified as a template parameter.

Certain often used callback function types are declared with using statements to make them easier to handle as parameters and to make the code more readable. These callback function types are listed below.

General

Type
QuantumGate::ConnectCallback
QuantumGate::DisconnectCallback
QuantumGate::SendCallback

Extender

Type
QuantumGate::Extender::StartupCallback
QuantumGate::Extender::PostStartupCallback
QuantumGate::Extender::PreShutdownCallback
QuantumGate::Extender::ShutdownCallback
QuantumGate::Extender::PeerEventCallback
QuantumGate::Extender::PeerMessageCallback
Clone this wiki locally