SleepyDiscord::CustomUDPClient
Inherits from SleepyDiscord::GenericUDPClient
inherited members​
Public Types inherited from SleepyDiscord::GenericUDPClient
Name | |
---|---|
typedef std::function< void()> | SendHandler |
typedef std::function< void(const std::vector< uint8_t > &)> | ReceiveHandler |
Protected Functions Documentation​
function CustomUDPClient​
inline CustomUDPClient()
function connect​
inline virtual bool connect(
const std::string & to,
const uint16_t port
) override
Reimplements: SleepyDiscord::GenericUDPClient::connect
function send​
inline virtual void send(
const uint8_t * buffer,
size_t bufferLength,
SendHandler handler =[]() {}
) override
Reimplements: SleepyDiscord::GenericUDPClient::send
function receive​
inline virtual void receive(
ReceiveHandler handler
) override
Reimplements: SleepyDiscord::GenericUDPClient::receive
Protected Attributes Documentation​
variable init​
static CustomInitUDPClient init;
Updated on 13 April 2022 at 18:39:59 UTC