Rev 1625 | Rev 1644 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1625 | Rev 1642 | ||
|---|---|---|---|
| Line 24... | Line 24... | ||
| 24 | #include <boost/shared_ptr.hpp> |
24 | #include <boost/shared_ptr.hpp> |
| 25 | 25 | ||
| 26 | #include "logging/Logger.h" |
26 | #include "logging/Logger.h" |
| 27 | #include "net/Subscriber.h" |
27 | #include "net/Subscriber.h" |
| 28 | #include "net/types.h" |
28 | #include "net/types.h" |
| 29 | #include " |
29 | #include "common/Byteset.h" |
| 30 | 30 | ||
| 31 | #include "vm/Plugin.h" |
31 | #include "vm/Plugin.h" |
| 32 | 32 | ||
| 33 | namespace atom { |
33 | namespace atom { |
| 34 | namespace vm { |
34 | namespace vm { |
| Line 45... | Line 45... | ||
| 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 | ||
| 48 | private: |
48 | private: |
| 49 | net::ServerId server_id_; |
49 | net::ServerId server_id_; |
| 50 | static |
50 | static common::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, |
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, |
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 Export_RegisterConsoleCommand(const v8::Arguments& args); |
60 | static Value Export_RegisterConsoleCommand(const v8::Arguments& args); |
| 61 | }; |
61 | }; |