#include <Workspace/DataExecution/Execution/Schedulers/Tcp/tcpremotescheduler.h>
◆ LogMessageId
Message identifiers. These are used by the Windows event viewer to help categorize logged messages. Their usefulness is limited for other platforms, possibly ignored altogether.
Enumerator |
---|
msgIdStartup | |
msgIdShutdown | |
msgIdClient | |
msgIdQueue | |
◆ TcpRemoteScheduler()
◆ ~TcpRemoteScheduler()
Ensures the server is stopped cleanly before destroying the object.
◆ getListenHost()
const QString & getListenHost |
( |
| ) |
const |
|
inline |
◆ getListenPort()
int getListenPort |
( |
| ) |
const |
|
inline |
◆ getMailHost()
const QString & getMailHost |
( |
| ) |
const |
◆ getMailSender()
const QString & getMailSender |
( |
| ) |
const |
◆ getPrivateKeyPath()
const QString & getPrivateKeyPath |
( |
| ) |
const |
|
inline |
◆ getPublicKeyPath()
const QString & getPublicKeyPath |
( |
| ) |
const |
|
inline |
◆ getTypeId()
QString getTypeId |
( |
| ) |
const |
|
overridevirtual |
◆ getUseSecureConnection()
bool getUseSecureConnection |
( |
| ) |
const |
|
inline |
◆ isAcceptingConnections()
bool isAcceptingConnections |
( |
| ) |
const |
◆ load()
◆ pause
Temporarily prevents the server from accepting incoming connections.
◆ processCommand
void processCommand |
( |
int |
code | ) |
|
|
slot |
May be used in a future version to allow user commands to be passed to the remote scheduler.
◆ resume
Re-enables the server to accept incoming connections.
◆ save()
◆ setListenHost()
void setListenHost |
( |
const QString & |
host | ) |
|
|
inline |
◆ setListenPort()
void setListenPort |
( |
int |
listenPort | ) |
|
|
inline |
◆ setMailHost()
void setMailHost |
( |
const QString & |
mailHost | ) |
|
- Parameters
-
mailHost | Address of the SMTP mail host. |
◆ setMailSender()
void setMailSender |
( |
const QString & |
mailSender | ) |
|
- Parameters
-
mailSender | Email address of the mail sender appear in the mail. |
◆ setPrivateKeyPath()
void setPrivateKeyPath |
( |
const QString & |
privateKeyPath | ) |
|
|
inline |
◆ setPublicKeyPath()
void setPublicKeyPath |
( |
const QString & |
publicKeyPath | ) |
|
|
inline |
◆ setup()
◆ setUseSecureConnection()
void setUseSecureConnection |
( |
bool |
useSecureConnection | ) |
|
|
inline |
◆ start
Starts the server.
- Returns
- True if the server was started successfully or was already running. If it fails, it will return false after logging diagnostic information about the reason for the failure to start.
◆ stop
Stops the server from listening for incoming connections on the assigned port. If the server is already not running at the time of the call, then the function does nothing.
◆ workspaceQueue()
◆ LOG_SERVERERROR
◆ LOG_SERVERINFO