1 #ifndef __DFTPD__LISTENER_HPP__
2 #define __DFTPD__LISTENER_HPP__
5 #include <boost/shared_ptr.hpp>
6 #include "ServerPtr.hpp"
14 void SetServer( const ServerWPtr
& server
) { m_server
= server
; }
19 const std::string
& GetIPAddr() const { return m_ipaddr
; }
27 typedef boost::shared_ptr
<Listener
> ListenerPtr
;