Settings for a ControlDataReceiver.
#include <ControlDataReceiver.h>
Name | |
---|---|
std::function< void(const IncomingRequest &)> | mPreviewIncomingRequestCallback |
std::function< ReceiverResponse(const IncomingRequest &)> | mIncomingRequestCallback |
std::function< void(const ControlDataCommon::ConnectionStatus &)> | mConnectionStatusCallback |
std::function< void(const ControlDataCommon::Response &)> | mResponseCallback Callback for connection events. |
std::function< void(const IncomingRequest &)> mPreviewIncomingRequestCallback;
Callback called as soon as this ControlDataReceiver gets the request, as a “preview” of what requests will be delievered.
std::function< ReceiverResponse(const IncomingRequest &)> mIncomingRequestCallback;
The actual callback used when this ControlDataReceiver gets a request and wants a response back. This callback will delay and deliver the request according to this receiver’s configured delay.
std::function< void(const ControlDataCommon::ConnectionStatus &)> mConnectionStatusCallback;
std::function< void(const ControlDataCommon::Response &)> mResponseCallback;
Callback for connection events.
Updated on 2023-06-13 at 17:00:17 +0200