We have a connector that's tested, the skeletons for the tests of a listener and...
[Arachnida.git] / lib / Spin / Listener.cpp
blobab37542a1457de1a790e23a3304c4ffd29ad7d1f
1 #ifndef _spin_listener_h
2 #define _spin_listener_h
4 #include <boost/cstdint.hpp>
5 #include "Connection.h"
7 namespace Spin
9 class Listener
11 public :
12 Listener(boost::uint32_t local_address, boost::uint16_t local_port, bool use_ssl = false);
13 ~Listener();
15 Connection accept();
17 private :
18 // Neither CopyConstructible nor Assignable
19 Listener(const Listener&);
20 Listener & operator=(const Listener&);
24 #endif