|
|
| version 1.17, 2001/10/29 17:35:50 | version 1.18, 2001/11/05 10:21:26 |
|---|---|
| Line 36 public: | Line 36 public: |
| time_stamp(0) { | time_stamp(0) { |
| } | } |
| const String& url() { return furl; } | const String& get_url() { return furl; } |
| void set_services(SQL_Driver_services *aservices) { | void set_services(SQL_Driver_services *aservices) { |
| time_stamp=time(0); // they started to use at this time | time_stamp=time(0); // they started to use at this time |
| Line 45 public: | Line 45 public: |
| bool expired(time_t older_dies) { | bool expired(time_t older_dies) { |
| return time_stamp<older_dies; | return time_stamp<older_dies; |
| } | } |
| time_t get_time_stamp() { return time_stamp; } | |
| void close() { | void close() { |
| SQL_driver_manager->close_connection(furl, *this); | SQL_driver_manager->close_connection(furl, *this); |