Midnight Sun Firmware
Loading...
Searching...
No Matches
app_callback.h
1#pragma once
2
3/************************************************************************************************
4 * @file app_callback.h
5 *
6 * @brief Header file defining the Application Callback functions for the client
7 *
8 * @date 2025-01-04
9 * @author Aryan Kashem
10 ************************************************************************************************/
11
12/* Standard library Headers */
13#include <string>
14
15/* Inter-component Headers */
16#include "client.h"
17
18/* Intra-component Headers */
19
34void applicationMessageCallback(Client *client, std::string &message);
35
42
Class that represents a client that connects to a main server.
Definition: client.h:40
void applicationMessageCallback(Client *client, std::string &message)
Handle receiving new client messages.
Definition: app_callback.cc:24
void applicationConnectCallback(Client *client)
Handle connecting to the server.
Definition: app_callback.cc:70