Subversion Repositories HomeAutomation

Rev

Rev 1642 | Rev 1939 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1642 Rev 1898
Line 26... Line 26...
26
 
26
 
27
#include <boost/signals2.hpp>
27
#include <boost/signals2.hpp>
28
#include <boost/shared_ptr.hpp>
28
#include <boost/shared_ptr.hpp>
29
 
29
 
30
#include "common/IoService.h"
30
#include "common/IoService.h"
-
 
31
#include "logging/Logger.h"
31
 
32
 
32
#include "types.h"
33
#include "types.h"
33
#include "Client.h"
34
#include "Client.h"
34
#include "TcpClient.h"
35
#include "TcpClient.h"
35
#include "UdpClient.h"
36
#include "UdpClient.h"
Line 63... Line 64...
63
    void SendToAll(ServerId server_id, common::Byteset data);
64
    void SendToAll(ServerId server_id, common::Byteset data);
64
    void SendTo(ClientId client_id, common::Byteset data);
65
    void SendTo(ClientId client_id, common::Byteset data);
65
 
66
 
66
private:
67
private:
67
    typedef std::map<ClientId, Client::Pointer> ClientList;
68
    typedef std::map<ClientId, Client::Pointer> ClientList;
-
 
69
 
-
 
70
    static logging::Logger LOG;
68
 
71
   
69
    static Pointer instance_;
72
    static Pointer instance_;
70
   
73
   
71
    ClientList clients_;
74
    ClientList clients_;
72
   
75