1 #ifndef __DFTPD__SESSIONCONTROLLER_HPP__
2 #define __DFTPD__SESSIONCONTROLLER_HPP__
7 #include "SessionControllerPtr.hpp"
9 class SessionController
15 void Tick( const std::list
<int>& activeFds
);
17 void Add( const SessionPtr
& session
);
18 void Remove( const SessionPtr
& session
);
20 std::list
<int> GetFds() const;
23 std::list
<SessionPtr
> m_list
;
24 std::queue
<SessionPtr
> m_removeList
;