forked from Kistler-Group/sdbus-cpp
Add support for custom timeout value for D-Bus method calls (#72)
This commit is contained in:
committed by
Stanislav Angelovič
parent
e7155c5506
commit
c139110112
@ -193,7 +193,7 @@ std::tuple<std::string, std::string> AdaptorGenerator::processMethods(const Node
|
||||
if (annotationValue == "true")
|
||||
annotationRegistration += ".markAsPrivileged()";
|
||||
}
|
||||
else
|
||||
else if (annotationName != "org.freedesktop.DBus.Method.Timeout") // Whatever else...
|
||||
{
|
||||
std::cerr << "Node: " << methodName << ": "
|
||||
<< "Option '" << annotationName << "' not allowed or supported in this context! Option ignored..." << std::endl;
|
||||
|
Reference in New Issue
Block a user