| 36 | } |
| 37 | |
| 38 | void RrupDevice::disconnectDevice() |
| 39 | { |
| 40 | this->socket->blockSignals(true); |
| 41 | this->socket->disconnectFromHost(); |
| 42 | this->socket->blockSignals(false); |
| 43 | |
| 44 | this->connected = false; |
| 45 | this->command = RrupDevice::CONNECTIONSTATE; |
| 46 | |
| 47 | sendNotification(); |
| 48 | } |
| 49 | |
| 50 | void RrupDevice::setConnected() |
| 51 | { |
nothing calls this directly
no outgoing calls
no test coverage detected