MCPcopy Create free account
hub / github.com/breach/thrust / Remote

Class Remote

src/api/api_server.h:49–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 /* APISERVER::CLIENT::REMOTE */
48 /**************************************************************************/
49 class Remote : public APIBindingRemote,
50 public base::RefCountedThreadSafe<APIServer::Client::Remote> {
51 public:
52 Remote(APIServer::Client* client,
53 unsigned int target);
54
55 virtual void InvokeMethod(const std::string method,
56 scoped_ptr<base::DictionaryValue> args,
57 const API::MethodCallback& callback) OVERRIDE;
58 virtual void EmitEvent(const std::string type,
59 scoped_ptr<base::DictionaryValue> event) OVERRIDE;
60
61 private:
62 APIServer::Client* client_;
63
64 unsigned int target_;
65
66 DISALLOW_COPY_AND_ASSIGN(Remote);
67 };
68
69 private:
70 void PerformAction(scoped_ptr<base::DictionaryValue> action);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected