#include <TcpServer.h>
|
| TcpServer (const String &server_name, uint04 port, QObject *parent=0) |
|
| TcpServer (const String &server_name, QObject *parent=0) |
|
void | connectToRemoteServer (const String &remote_address) |
|
void | connectToRemoteServer (QTcpSocket *remote_socket) |
|
virtual bool | sendData (const String &data, QTcpSocket *socket=nullptr) |
|
virtual bool | sendFile (const File &file, QTcpSocket *socket=nullptr) |
|
virtual bool | sendFile (const File &file, bool send_file_contents, QTcpSocket *socket=nullptr) |
|
virtual bool | sendShowFileBrowser (QTcpSocket *socket=nullptr) |
|
virtual bool | sendSetScreenResolution (const Vector< 2, uint04 > &size, QTcpSocket *socket=nullptr) |
|
virtual bool | sendOpenApp (const File &application, const String &args, bool wait_for_completion, bool windowless, QTcpSocket *socket=nullptr) |
|
virtual bool | sendData (const String &data_type, const String &data, QTcpSocket *socket=nullptr) |
|
virtual bool | sendError (const Exception &e, QTcpSocket *socket=nullptr) |
|
virtual bool | sendPacket (const QByteArray &packet, QTcpSocket *socket=nullptr) |
|
◆ TcpServer() [1/2]
◆ TcpServer() [2/2]
◆ connectToRemoteServer() [1/2]
void connectToRemoteServer |
( |
const String & | remote_address | ) |
|
◆ connectToRemoteServer() [2/2]
void connectToRemoteServer |
( |
QTcpSocket * | remote_socket | ) |
|
◆ CreateFilePacket()
QByteArray CreateFilePacket |
( |
const File & | file, |
|
|
bool | send_file_contents ) |
|
static |
◆ CreateMessagePacket()
◆ CreateOpenAppPacket()
QByteArray CreateOpenAppPacket |
( |
const File & | application, |
|
|
const String & | args = String(), |
|
|
bool | wait_for_completion = true, |
|
|
bool | windowless = false ) |
|
static |
◆ CreateOpenFilePacket()
QByteArray CreateOpenFilePacket |
( |
const File & | file_to_open | ) |
|
|
static |
◆ CreateSendErrorPacket()
QByteArray CreateSendErrorPacket |
( |
const Exception & | e | ) |
|
|
static |
◆ CreatRequestSendFilePacket()
QByteArray CreatRequestSendFilePacket |
( |
const File & | file_to_request, |
|
|
const String & | args = String() ) |
|
static |
◆ dataRecieved()
bool dataRecieved |
( |
const String & | data_type, |
|
|
const String & | args, |
|
|
const String & | data, |
|
|
QTcpSocket * | socket ) |
|
protectedvirtual |
◆ discardSocketSlot
void discardSocketSlot |
( |
| ) |
|
|
slot |
◆ displayErrorSlot
void displayErrorSlot |
( |
int | socketError | ) |
|
|
slot |
◆ fileRecieved()
bool fileRecieved |
( |
const String & | data_type, |
|
|
const String & | args, |
|
|
const File & | data, |
|
|
QTcpSocket * | socket ) |
|
protectedvirtual |
◆ newConnectionSlot
void newConnectionSlot |
( |
| ) |
|
|
slot |
◆ readSocketSlot
◆ sendData() [1/2]
bool sendData |
( |
const String & | data, |
|
|
QTcpSocket * | socket = nullptr ) |
|
virtual |
◆ sendData() [2/2]
bool sendData |
( |
const String & | data_type, |
|
|
const String & | data, |
|
|
QTcpSocket * | socket = nullptr ) |
|
virtual |
◆ sendError()
bool sendError |
( |
const Exception & | e, |
|
|
QTcpSocket * | socket = nullptr ) |
|
virtual |
◆ sendFile() [1/2]
bool sendFile |
( |
const File & | file, |
|
|
bool | send_file_contents, |
|
|
QTcpSocket * | socket = nullptr ) |
|
virtual |
◆ sendFile() [2/2]
bool sendFile |
( |
const File & | file, |
|
|
QTcpSocket * | socket = nullptr ) |
|
virtual |
◆ sendOpenApp()
bool sendOpenApp |
( |
const File & | application, |
|
|
const String & | args, |
|
|
bool | wait_for_completion, |
|
|
bool | windowless, |
|
|
QTcpSocket * | socket = nullptr ) |
|
virtual |
◆ sendPacket()
bool sendPacket |
( |
const QByteArray & | packet, |
|
|
QTcpSocket * | socket = nullptr ) |
|
virtual |
◆ sendSetScreenResolution()
bool sendSetScreenResolution |
( |
const Vector< 2, uint04 > & | size, |
|
|
QTcpSocket * | socket = nullptr ) |
|
virtual |
◆ sendShowFileBrowser()
bool sendShowFileBrowser |
( |
QTcpSocket * | socket = nullptr | ) |
|
|
virtual |
◆ showError()
◆ socketDisconnected()
void socketDisconnected |
( |
QTcpSocket * | socket | ) |
|
|
protectedvirtual |
◆ error_data_message
const char* error_data_message = "send_error_message" |
|
staticconstexpr |
◆ generic_data_message_type
const char* generic_data_message_type = "data" |
|
staticconstexpr |
◆ generic_file_message_type
const char* generic_file_message_type = "file" |
|
staticconstexpr |
◆ open_file_message_type
const char* open_file_message_type = "open_file" |
|
staticconstexpr |
◆ open_os_settings
const char* open_os_settings = "open_os_settings" |
|
staticconstexpr |
◆ request_send_file
const char* request_send_file = "request_send_file" |
|
staticconstexpr |
◆ set_screen_resolution
const char* set_screen_resolution = "set_screen_resolution" |
|
staticconstexpr |
◆ start_application_file_message_type
const char* start_application_file_message_type = "start_application" |
|
staticconstexpr |
The documentation for this class was generated from the following files: