Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void RemotePowerController::controlAction(const ControlActionPtr& ctrlActionPtr)
- {
- if (this->rpcType == rtPROXY)
- {
- this->doControl(ctrlActionPtr->controlID, ctrlActionPtr->action);
- // TODO: doControl után vissza kell szórni az eredményt!!!
- }
- else
- {
- if (this->scheduleControlAction(ctrlActionPtr->controlID))
- this->controlActionHandler->insertElement(ctrlActionPtr);
- else
- cout << "NO! Task is already pending..." << endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement