sync from fd.org
timeout support in connection
This commit is contained in:
parent
d55e70a385
commit
25a2ef65af
3 changed files with 27 additions and 5 deletions
|
@ -446,6 +446,10 @@ public:
|
|||
bool start_service( const char* name, unsigned long flags );
|
||||
|
||||
const std::vector<std::string>& names();
|
||||
|
||||
void set_timeout(int timeout);
|
||||
|
||||
int get_timeout();
|
||||
|
||||
private:
|
||||
|
||||
|
@ -454,6 +458,7 @@ private:
|
|||
private:
|
||||
|
||||
RefPtrI<Private> _pvt;
|
||||
int _timeout;
|
||||
|
||||
friend class ObjectAdaptor; // needed in order to register object paths for a connection
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue