Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
Handshake.h File Reference
#include <PhosphorChannel/Ring.h>
#include <PhosphorChannel/phosphorchannel_export.h>
#include <cstddef>
#include <memory>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  PhosphorChannel::AcceptOptions
 What a reader takes. More...

Namespaces

namespace  PhosphorChannel

Functions

PHOSPHORCHANNEL_EXPORT bool PhosphorChannel::offerRing (int socket, RingWriter &ring, int timeoutMs, std::string *error)
 Sends ring over socket and waits for the answer.
PHOSPHORCHANNEL_EXPORT std::unique_ptr< RingReader > PhosphorChannel::acceptRing (int socket, const AcceptOptions &options, int timeoutMs, std::string *error)
 Receives a ring over socket, maps it, and answers whether it took it.