Lines Matching refs:hub_message_t
64 virtual void onMessage(const hub_message_t &msg) = 0;
70 std::function<void(const hub_message_t &)> mHandler;
79 void setHandler(std::function<void(const hub_message_t &)> handler) { in setHandler()
82 void onMessage(const hub_message_t &msg) { in onMessage()
87 void sendMessage(const hub_message_t &msg) { in sendMessage()
99 static int contextHubCallback(uint32_t id, const hub_message_t *msg, void *cookie) in contextHubCallback()
130 void onMessage(uint32_t hubId, const hub_message_t *msg) { in onMessage()
137 int sendMessage(uint32_t id, const hub_message_t &msg) { in sendMessage()
142 hub_message_t msg = { in sendMessage()
175 void onMessage(const hub_message_t &msg){ in onMessage()
185 …mClient->setHandler(std::function<void(const hub_message_t&)>([this] (const hub_message_t&msg) { o… in NanoClient()
187 void sendMessage(const hub_message_t &msg) { mClient->sendMessage(msg); } in sendMessage()
189 hub_message_t msg; in sendMessageToSystem()
202 hub_message_t msg; in sendMessageToApp()