{
"name" : "ExampleSouce",
"path" : "/usr/lib/automotive-message-broker/examplesourceplugin.so",
- "delay" : "24"
+ "delay" : "1000"
}
],
"sinks": [
{
if(ListPlusPlus<Property>(&mCapabilities).contains(name))
{
- DebugOut(0)<<__FUNCTION__<<" ERROR: property '"<<name<<"'' already registered."<<endl;
+ DebugOut(0)<<__FUNCTION__<<" ERROR: property '"<<name<<"' already registered."<<endl;
return false;
}
throw std::runtime_error(error->message);
}
- const char* p = g_variant_get_type_string(pid);
-
- DebugOut()<<"pid "<<p<<endl;
-
uint thePid=0;
g_variant_get(pid,"(u)",&thePid);
class AbstractProperty;
+const uint getPid(const char *owner);
+
class AbstractDBusInterface
{
std::string method = method_name;
+ if(DebugOut::getDebugThreshhold() >= 6)
+ {
+ DebugOut(6)<<"DBus method call from: "<<sender<< " pid: " <<getPid(sender)<< " interface: "<<interface_name<<" method: "<<method<<endl;
+ DebugOut(6)<<"DBus method call path: "<<object_path<<endl;
+ }
+
if(method == "findProperty")
{
DebugOut(DebugOut::Warning)<<"org.automotive.Manager.findProperty() is deprecated. Use org.automotive.Manager.FindObject() instead."<<endl;