Subversion Repositories HomeAutomation

Rev

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

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