Subversion Repositories HomeAutomation

Rev

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

Rev 1675 Rev 1959
Line 29... Line 29...
29
class UdpClient : public Client
29
class UdpClient : public Client
30
{
30
{
31
public:
31
public:
32
    typedef boost::shared_ptr<UdpClient> Pointer;
32
    typedef boost::shared_ptr<UdpClient> Pointer;
33
   
33
   
34
    UdpClient(boost::asio::io_service& io_service, ClientId id, ServerId server_id);
34
    UdpClient(boost::asio::io_service& io_service, SocketId id, SocketId server_id);
35
    virtual ~UdpClient();
35
    virtual ~UdpClient();
36
   
36
   
37
    void Connect(std::string address, unsigned int port);
37
    void Connect(std::string address, unsigned int port);
38
    void Send(common::Byteset data);
38
    void Send(common::Byteset data);
39
 
39