Rev 1598 | Rev 1601 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1598 | Rev 1599 | ||
|---|---|---|---|
| Line 48... | Line 48... | ||
| 48 | typedef boost::signals2::signal<void(ClientId, ServerId, type::Byteset)> SignalOnNewData; |
48 | typedef boost::signals2::signal<void(ClientId, ServerId, type::Byteset)> SignalOnNewData; |
| 49 | 49 | ||
| 50 | virtual ~Manager(); |
50 | virtual ~Manager(); |
| 51 | 51 | ||
| 52 | static Pointer Instance(); |
52 | static Pointer Instance(); |
| - | 53 | static void Create(); |
|
| 53 | static void Delete(); |
54 | static void Delete(); |
| 54 | 55 | ||
| 55 | void ConnectSlots(const SignalOnNewState::slot_type& slot_on_new_state, const SignalOnNewData::slot_type& slot_on_new_data); |
56 | void ConnectSlots(const SignalOnNewState::slot_type& slot_on_new_state, const SignalOnNewData::slot_type& slot_on_new_data); |
| 56 | 57 | ||
| 57 | ServerId StartServer(Protocol protocol, unsigned int port); |
58 | ServerId StartServer(Protocol protocol, unsigned int port); |