9 #ifndef LLDB_API_SBCOMMUNICATION_H
10 #define LLDB_API_SBCOMMUNICATION_H
20 eBroadcastBitDisconnected =
22 eBroadcastBitReadThreadGotBytes =
24 eBroadcastBitReadThreadDidExit =
27 eBroadcastBitReadThreadShouldExit =
29 eBroadcastBitPacketAvailable =
31 eAllEventBits = 0xffffffff};
40 explicit operator bool()
const;
46 static const char *GetBroadcasterClass();
54 bool IsConnected()
const;
58 void SetCloseOnEOF(
bool b);
60 size_t Read(
void *dst,
size_t dst_len,
uint32_t timeout_usec,
65 bool ReadThreadStart();
67 bool ReadThreadStop();
69 bool ReadThreadIsRunning();
72 void *callback_baton);
79 bool m_opaque_owned =
false;
84 #endif // LLDB_API_SBCOMMUNICATION_H