Rev 1619 | Rev 1642 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1619 | Rev 1625 | ||
|---|---|---|---|
| Line 37... | Line 37... | ||
| 37 | class Console : public Plugin |
37 | class Console : public Plugin |
| 38 | { |
38 | { |
| 39 | public: |
39 | public: |
| 40 | typedef boost::shared_ptr<Console> Pointer; |
40 | typedef boost::shared_ptr<Console> Pointer; |
| 41 | 41 | ||
| 42 | Console(unsigned int port); |
42 | Console(boost::asio::io_service& io_service, unsigned int port); |
| 43 | virtual ~Console(); |
43 | virtual ~Console(); |
| 44 | 44 | ||
| 45 | void ExecutionResult(std::string response, unsigned int request_id); |
45 | void ExecutionResult(std::string response, unsigned int request_id); |
| 46 | void InitializeDone(); |
46 | void InitializeDone(); |
| 47 | 47 | ||
| Line 49... | Line 49... | ||
| 49 | net::ServerId server_id_; |
49 | net::ServerId server_id_; |
| 50 | static type::StringList commands_; |
50 | static type::StringList commands_; |
| 51 | 51 | ||
| 52 | void SlotOnNewState(net::ClientId client_id, net::ServerId server_id, net::ClientState client_state); |
52 | void SlotOnNewState(net::ClientId client_id, net::ServerId server_id, net::ClientState client_state); |
| 53 | void SlotOnNewData(net::ClientId client_id, net::ServerId server_id, type::Byteset data); |
53 | void SlotOnNewData(net::ClientId client_id, net::ServerId server_id, type::Byteset data); |
| - | 54 | ||
| - | 55 | void SlotOnNewStateHandler(net::ClientId client_id, net::ServerId server_id, net::ClientState client_state); |
|
| - | 56 | void SlotOnNewDataHandler(net::ClientId client_id, net::ServerId server_id, type::Byteset data); |
|
| 54 | 57 | ||
| 55 | static logging::Logger LOG; |
58 | static logging::Logger LOG; |
| 56 | 59 | ||
| 57 | static Value Export_RegisterConsoleCommand(const v8::Arguments& args); |
60 | static Value Export_RegisterConsoleCommand(const v8::Arguments& args); |
| 58 | }; |
61 | }; |