Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
session.h File Reference

Sessions as the application sees them: who a client is, asking whether to let it in, and the list of connected clients (design 0033). More...

#include <sonde/global.h>
#include <QtCore/QDateTime>
#include <QtCore/QJsonObject>
#include <QtCore/QString>
#include <QtNetwork/QHostAddress>
#include <functional>
#include <memory>

Go to the source code of this file.

Classes

struct  Sonde::SessionPeer
 What the operating system says about a client, as far as Sonde can learn it. More...
struct  Sonde::SessionInfo
 A connected client, as Server::sessions() lists it. More...
class  Sonde::SessionRequest
 A client asking to start a session, for the application to approve or refuse (see Server::setSessionApproval()). More...

Namespaces

namespace  Sonde
 Embeddable Model Context Protocol server for Qt applications.

Typedefs

using Sonde::SessionApproval = std::function<void(const SessionRequest &request)>
 Decides about a client asking to start a session: calls approve() or deny() on request, at once or later (after asking the user, say).

Detailed Description

Sessions as the application sees them: who a client is, asking whether to let it in, and the list of connected clients (design 0033).