◆ acceptConnection()
| bool System::acceptConnection |
( |
| ) |
|
Try to accept a client connection.
- Returns
- true if connection accepted
◆ getAlgorithmRunner()
Gets the algorithm runner.
- Returns
- Reference to algorithm runner
◆ getAlgorithmScanner()
Gets the algorithm scanner.
- Returns
- Reference to algorithm scanner
◆ handleCompleteMessage()
| void System::handleCompleteMessage |
( |
const std::string & |
messageId, |
|
|
const std::string & |
payload, |
|
|
MessageType |
type |
|
) |
| |
Handles a complete message from MessageProcessor.
- Parameters
-
| messageId | Message ID |
| payload | Message payload |
| type | Message type |
◆ isClientConnected()
| bool System::isClientConnected |
( |
| ) |
const |
Checks if client is connected.
- Returns
- true if client is connected
◆ isRunning()
| bool System::isRunning |
( |
| ) |
const |
Checks if system is running.
- Returns
- true if running
◆ registerHandler()
Registers a message handler.
- Parameters
-
| handler | Unique pointer to handler |
◆ sendMessage() [1/2]
| bool System::sendMessage |
( |
const std::string & |
messageId, |
|
|
const std::string & |
payload, |
|
|
MessageType |
type |
|
) |
| |
Sends a message to the client with correlation ID.
- Parameters
-
| messageId | Message ID for correlation (e.g., response to original message) |
| payload | Message payload |
| type | Message type |
- Returns
- true if message was queued for sending
◆ sendMessage() [2/2]
| bool System::sendMessage |
( |
const std::string & |
payload, |
|
|
MessageType |
type |
|
) |
| |
Sends a message to the client.
- Parameters
-
| payload | Message payload |
| type | Message type |
- Returns
- true if message was queued for sending
The documentation for this class was generated from the following files: