Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
ClientProxy1_5.h
Go to the documentation of this file.
1/*
2 * Deskflow -- mouse and keyboard sharing utility
3 * SPDX-FileCopyrightText: (C) 2013 - 2016 Symless Ltd.
4 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
5 */
6
7#pragma once
8
10
11#include <vector>
12
13class Server;
14class IEventQueue;
15
18{
19public:
20 ClientProxy1_5(const std::string &name, deskflow::IStream *adoptedStream, Server *server, IEventQueue *events);
21 ClientProxy1_5(ClientProxy1_5 const &) = delete;
23 ~ClientProxy1_5() override = default;
24
27
28 void sendDragInfo(uint32_t fileCount, const char *info, size_t size) override;
29 void fileChunkSending(uint8_t mark, char *data, size_t dataSize) override;
30 bool parseMessage(const uint8_t *code) override;
31 void fileChunkReceived() const;
32 void dragInfoReceived() const;
33
34private:
35 IEventQueue *m_events;
36};
static const struct sockaddr FAR * name
Definition ArchNetworkWinsock.cpp:27
static int void FAR * data
Definition ArchNetworkWinsock.cpp:34
ClientProxy1_4(const std::string &name, deskflow::IStream *adoptedStream, Server *server, IEventQueue *events)
Definition ClientProxy1_4.cpp:22
void sendDragInfo(uint32_t fileCount, const char *info, size_t size) override
Definition ClientProxy1_5.cpp:28
ClientProxy1_5(ClientProxy1_5 &&)=delete
ClientProxy1_5 & operator=(ClientProxy1_5 const &)=delete
bool parseMessage(const uint8_t *code) override
Definition ClientProxy1_5.cpp:38
void fileChunkReceived() const
Definition ClientProxy1_5.cpp:51
ClientProxy1_5(const std::string &name, deskflow::IStream *adoptedStream, Server *server, IEventQueue *events)
Definition ClientProxy1_5.cpp:21
~ClientProxy1_5() override=default
ClientProxy1_5 & operator=(ClientProxy1_5 &&)=delete
void dragInfoReceived() const
Definition ClientProxy1_5.cpp:56
ClientProxy1_5(ClientProxy1_5 const &)=delete
void fileChunkSending(uint8_t mark, char *data, size_t dataSize) override
Definition ClientProxy1_5.cpp:33
Event queue interface.
Definition IEventQueue.h:32
Deskflow server.
Definition Server.h:44
Bidirectional stream interface.
Definition IStream.h:24