Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions Common/Cpp/Sockets/ServerSocket_Qt.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ class ServerSocket_Qt final : public QObject, public AbstractServerSocket{
bool done = false;
};


public:
ServerSocket_Qt(ThreadPool&){}

Expand All @@ -62,10 +61,8 @@ class ServerSocket_Qt final : public QObject, public AbstractServerSocket{
// blocks until the QTcpServer has been created on that thread.
virtual void start(const std::string& address, uint16_t port) override;


virtual void close_connection() override;


// Stops the server, destroys the QTcpServer (and its connection
// socket), and returns the socket to State::NOT_RUNNING so "start()"
// can be called again. This blocks until the QTcpServer has been
Expand All @@ -77,7 +74,6 @@ class ServerSocket_Qt final : public QObject, public AbstractServerSocket{
// server that is running them.
virtual void close() noexcept override;


virtual size_t send(const void* data, size_t bytes) override;


Expand Down Expand Up @@ -126,4 +122,4 @@ class ServerSocket_Qt final : public QObject, public AbstractServerSocket{


}
#endif
#endif
Loading