Rev 1599 | Rev 1959 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1599 | Rev 1642 | ||
|---|---|---|---|
| Line 35... | Line 35... | ||
| 35 | TcpClient(boost::asio::io_service& io_service, ClientId id, ServerId server_id); |
35 | TcpClient(boost::asio::io_service& io_service, ClientId id, ServerId server_id); |
| 36 | virtual ~TcpClient(); |
36 | virtual ~TcpClient(); |
| 37 | 37 | ||
| 38 | void Accept(AcceptorPointer acceptor); |
38 | void Accept(AcceptorPointer acceptor); |
| 39 | void Connect(std::string address, unsigned int port); |
39 | void Connect(std::string address, unsigned int port); |
| 40 | void Send( |
40 | void Send(common::Byteset data); |
| 41 | 41 | ||
| 42 | AcceptorPointer ReleaseAcceptor(); |
42 | AcceptorPointer ReleaseAcceptor(); |
| 43 | 43 | ||
| 44 | protected: |
44 | protected: |
| 45 | void Read(); |
45 | void Read(); |