11#ifndef O2_FRAMEWORK_WSDRIVERCLIENT_H_
12#define O2_FRAMEWORK_WSDRIVERCLIENT_H_
30struct ServiceRegistry;
43 void tell(
const char*
msg,
size_t s,
bool flush =
true)
final;
49 std::mutex&
mutex() {
return mClientMutex; }
55 std::atomic<bool> mConnected =
false;
56 std::mutex mClientMutex;
58 std::vector<uv_buf_t> mBacklog;
61 std::unique_ptr<WSDPLClient> mClient;
struct uv_async_s uv_async_t
struct uv_connect_s uv_connect_t
A service API to communicate with the driver.
void setDPLClient(std::unique_ptr< WSDPLClient >)
void tell(const char *msg, size_t s, bool flush=true) final
void flushPending(ServiceRegistryRef mainThreadRef) final
void setConnection(uv_connect_t *connection)
Defining PrimaryVertex explicitly as messageable.
uint64_t const void const *restrict const msg