- virtual bool GetConnected() const = 0;
- virtual time_t GetConnectedModificationTime() const = 0;
- virtual int GetAuthorized() const = 0;
- /*virtual int Authorize(uint32_t ip,
- uint32_t enabledDirs,
- const AUTH * auth) = 0;
- virtual void Unauthorize(const AUTH * auth) = 0;*/
- virtual bool IsAuthorizedBy(const AUTH * auth) const = 0;
+ bool GetConnected() const { return m_connected; }
+ time_t GetConnectedModificationTime() const { return m_connected.ModificationTime(); }