Rev 1644 | Rev 1657 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1644 | Rev 1647 | ||
|---|---|---|---|
| Line 40... | Line 40... | ||
| 40 | typedef boost::shared_ptr<Console> Pointer; |
40 | typedef boost::shared_ptr<Console> Pointer; |
| 41 | 41 | ||
| 42 | Console(boost::asio::io_service& io_service, 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); |
- | |
| 46 | void InitializeDone(); |
45 | void InitializeDone(); |
| - | 46 | void CallOutput(unsigned int request_id, std::string output); |
|
| 47 | 47 | ||
| 48 | private: |
48 | private: |
| 49 | net::ServerId server_id_; |
49 | net::ServerId server_id_; |
| 50 | static |
50 | static net::ClientId current_client_id_; |
| 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, common::Byteset data); |
53 | void SlotOnNewData(net::ClientId client_id, net::ServerId server_id, common::Byteset data); |
| 54 | 54 | ||
| 55 | void SlotOnNewStateHandler(net::ClientId client_id, net::ServerId server_id, net::ClientState client_state); |
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, common::Byteset data); |
56 | void SlotOnNewDataHandler(net::ClientId client_id, net::ServerId server_id, common::Byteset data); |
| 57 | 57 | ||
| 58 | static logging::Logger LOG; |
58 | static logging::Logger LOG; |
| 59 | 59 | ||
| 60 | static Value |
60 | static Value Export_PromptRequest(const v8::Arguments& args); |
| - | 61 | static Value Export_AutoCompleteResponse(const v8::Arguments& args); |
|
| 61 | }; |
62 | }; |
| 62 | 63 | ||
| 63 | }; // namespace plugin |
64 | }; // namespace plugin |
| 64 | }; // namespace vm |
65 | }; // namespace vm |
| 65 | }; // namespace atom |
66 | }; // namespace atom |