| 221 | } |
| 222 | |
| 223 | void Connection::setMethodCallTimeout(uint64_t timeout) |
| 224 | { |
| 225 | auto r = sdbus_->sd_bus_set_method_call_timeout(bus_.get(), timeout); |
| 226 | |
| 227 | SDBUS_THROW_ERROR_IF(r < 0, "Failed to set method call timeout", -r); |
| 228 | } |
| 229 | |
| 230 | uint64_t Connection::getMethodCallTimeout() const |
| 231 | { |