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;
static void ReadThreadBytesReceived(void *baton, const void *src, size_t src_len)
const SBCommunication & operator=(const SBCommunication &)=delete
SBCommunication(const SBCommunication &)=delete
"lldb/Core/ThreadedCommunication.h" Variation of Communication that supports threaded reads.
ConnectionStatus
Connection Status Types.