#include "lldb/API/SBCommunication.h"
#include "lldb/API/SBBroadcaster.h"
#include "lldb/Core/ThreadedCommunication.h"
#include "lldb/Host/ConnectionFileDescriptor.h"
#include "lldb/Host/Host.h"
#include "lldb/Utility/Instrumentation.h"
usingnamespacelldb;
usingnamespacelldb_private;
SBCommunication::SBCommunication() { … }
SBCommunication::SBCommunication(const char *broadcaster_name)
: … { … }
SBCommunication::~SBCommunication() { … }
bool SBCommunication::IsValid() const { … }
operator bool()
bool SBCommunication::GetCloseOnEOF() { … }
void SBCommunication::SetCloseOnEOF(bool b) { … }
ConnectionStatus SBCommunication::Connect(const char *url) { … }
ConnectionStatus SBCommunication::AdoptFileDesriptor(int fd, bool owns_fd) { … }
ConnectionStatus SBCommunication::Disconnect() { … }
bool SBCommunication::IsConnected() const { … }
size_t SBCommunication::Read(void *dst, size_t dst_len, uint32_t timeout_usec,
ConnectionStatus &status) { … }
size_t SBCommunication::Write(const void *src, size_t src_len,
ConnectionStatus &status) { … }
bool SBCommunication::ReadThreadStart() { … }
bool SBCommunication::ReadThreadStop() { … }
bool SBCommunication::ReadThreadIsRunning() { … }
bool SBCommunication::SetReadThreadBytesReceivedCallback(
ReadThreadBytesReceived callback, void *callback_baton) { … }
SBBroadcaster SBCommunication::GetBroadcaster() { … }
const char *SBCommunication::GetBroadcasterClass() { … }