Use libdbus' default timeout when invoking remote methods
This commit is contained in:
parent
d83c57e59d
commit
1337c658a8
2 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ public:
|
||||||
|
|
||||||
bool send( const Message&, unsigned int* serial = NULL );
|
bool send( const Message&, unsigned int* serial = NULL );
|
||||||
|
|
||||||
Message send_blocking( Message& msg, int timeout );
|
Message send_blocking( Message& msg, int timeout = -1);
|
||||||
|
|
||||||
PendingCall send_async( Message& msg, int timeout );
|
PendingCall send_async( Message& msg, int timeout );
|
||||||
|
|
||||||
|
|
|
@ -323,7 +323,7 @@ Message ObjectProxy::_invoke_method( CallMessage& call )
|
||||||
call.path(path().c_str());
|
call.path(path().c_str());
|
||||||
call.destination(service().c_str());
|
call.destination(service().c_str());
|
||||||
|
|
||||||
return conn().send_blocking(call, 2000);
|
return conn().send_blocking(call);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ObjectProxy::handle_message( const Message& msg )
|
bool ObjectProxy::handle_message( const Message& msg )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue