Rev 1642 | Rev 1986 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1642 | Rev 1959 | ||
|---|---|---|---|
| Line 42... | Line 42... | ||
| 42 | 42 | ||
| 43 | Network(std::string address); |
43 | Network(std::string address); |
| 44 | virtual ~Network(); |
44 | virtual ~Network(); |
| 45 | 45 | ||
| 46 | private: |
46 | private: |
| 47 | net:: |
47 | net::SocketId client_id_; |
| 48 | net::Protocol protocol_; |
48 | net::Protocol protocol_; |
| 49 | std::string address_; |
49 | std::string address_; |
| 50 | unsigned int port_or_baud_; |
50 | unsigned int port_or_baud_; |
| 51 | common::Byteset buffer_; |
51 | common::Byteset buffer_; |
| 52 | timer::TimerId timer_id_; |
52 | timer::TimerId timer_id_; |
| 53 | 53 | ||
| 54 | void SlotOnMessageHandler(broker::Message::Pointer message); |
54 | void SlotOnMessageHandler(broker::Message::Pointer message); |
| 55 | 55 | ||
| 56 | void SlotOnTimeout(timer::TimerId timer_id); |
56 | void SlotOnTimeout(timer::TimerId timer_id); |
| 57 | 57 | ||
| 58 | void SlotOnNewStateHandler(net:: |
58 | void SlotOnNewStateHandler(net::SocketId client_id, net::SocketId server_id, net::ClientState client_state); |
| 59 | void SlotOnNewDataHandler(net:: |
59 | void SlotOnNewDataHandler(net::SocketId client_id, net::SocketId server_id, common::Byteset data); |
| 60 | void SlotOnTimeoutHandler(timer::TimerId timer_id); |
60 | void SlotOnTimeoutHandler(timer::TimerId timer_id); |
| 61 | 61 | ||
| 62 | void ProcessBuffer(); |
62 | void ProcessBuffer(); |
| 63 | 63 | ||
| 64 | logging::Logger LOG; |
64 | logging::Logger LOG; |