The IController class This is base interface for the handling network events.
More...
#include <IPController.h>
|
| IController ()=default |
|
virtual | ~IController ()=default |
|
virtual void | handleFeatures (const QList< Feature > &features)=0 |
| handleFeatures This method should be handle all Command::Features resuests. This method will invoked when controller receive commands list for execute (features) from controller or terminal.
|
|
virtual void | handleResponce (const QVariantMap &responce)=0 |
| handleResponce This method should be handle all responces of the service. This method will invoked when controller receive responce from service.
|
|
virtual void | handleError (PatronumError errorCode)=0 |
| handleError This method shold be handle all error messages. This method will invoked when a controlee receive a error responce from a service.
|
|
virtual void | finished ()=0 |
| finished This method ivoked when controler received Command::CloseConnection from the server.
|
|
The IController class This is base interface for the handling network events.
Definition at line 23 of file IPController.h.
◆ IController()
Patronum::IController::IController |
( |
| ) |
|
|
default |
◆ ~IController()
virtual Patronum::IController::~IController |
( |
| ) |
|
|
virtualdefault |
◆ finished()
virtual void Patronum::IController::finished |
( |
| ) |
|
|
pure virtual |
finished This method ivoked when controler received Command::CloseConnection from the server.
Implemented in Patronum::Controller.
◆ handleError()
virtual void Patronum::IController::handleError |
( |
PatronumError |
errorCode | ) |
|
|
pure virtual |
handleError This method shold be handle all error messages. This method will invoked when a controlee receive a error responce from a service.
- Parameters
-
errorCode | This is code of a error. |
Implemented in Patronum::Controller.
◆ handleFeatures()
virtual void Patronum::IController::handleFeatures |
( |
const QList< Feature > & |
features | ) |
|
|
pure virtual |
handleFeatures This method should be handle all Command::Features resuests. This method will invoked when controller receive commands list for execute (features) from controller or terminal.
- Parameters
-
features | This is list of the requests (features) |
Implemented in Patronum::Controller.
◆ handleResponce()
virtual void Patronum::IController::handleResponce |
( |
const QVariantMap & |
responce | ) |
|
|
pure virtual |
handleResponce This method should be handle all responces of the service. This method will invoked when controller receive responce from service.
- Parameters
-
responce | This is responce message. |
Implemented in Patronum::Controller.
The documentation for this class was generated from the following file: