sync from fd.org

timeout support in connection
This commit is contained in:
Andreas Volz 2009-11-16 23:00:10 +01:00
parent d55e70a385
commit 25a2ef65af
3 changed files with 27 additions and 5 deletions

View file

@ -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
};