SBCommunication

class lldb.SBCommunication(*args)

Allows sending/receiving data.

Attributes Summary

eAllEventBits
eBroadcastBitDisconnected
eBroadcastBitPacketAvailable
eBroadcastBitReadThreadDidExit
eBroadcastBitReadThreadGotBytes
eBroadcastBitReadThreadShouldExit

Methods Summary

AdoptFileDesriptor(SBCommunication self, …)
Connect(SBCommunication self, char const * url)
Disconnect(SBCommunication self)
GetBroadcaster(SBCommunication self)
GetBroadcasterClass()
GetCloseOnEOF(SBCommunication self)
IsConnected(SBCommunication self)
IsValid(SBCommunication self)
Read(SBCommunication self, void * dst, …)
ReadThreadIsRunning(SBCommunication self)
ReadThreadStart(SBCommunication self)
ReadThreadStop(SBCommunication self)
SetCloseOnEOF(SBCommunication self, bool b)
SetReadThreadBytesReceivedCallback(…)
Write(SBCommunication self, …)

Attributes Documentation

eAllEventBits = <Mock name='mock.SBCommunication_eAllEventBits' id='139863013007072'>
eBroadcastBitDisconnected = <Mock name='mock.SBCommunication_eBroadcastBitDisconnected' id='139863013006688'>
eBroadcastBitPacketAvailable = <Mock name='mock.SBCommunication_eBroadcastBitPacketAvailable' id='139863013007024'>
eBroadcastBitReadThreadDidExit = <Mock name='mock.SBCommunication_eBroadcastBitReadThreadDidExit' id='139863013006928'>
eBroadcastBitReadThreadGotBytes = <Mock name='mock.SBCommunication_eBroadcastBitReadThreadGotBytes' id='139863013006880'>
eBroadcastBitReadThreadShouldExit = <Mock name='mock.SBCommunication_eBroadcastBitReadThreadShouldExit' id='139863013006976'>

Methods Documentation

AdoptFileDesriptor(SBCommunication self, int fd, bool owns_fd) → lldb::ConnectionStatus
Connect(SBCommunication self, char const * url) → lldb::ConnectionStatus
Disconnect(SBCommunication self) → lldb::ConnectionStatus
GetBroadcaster(SBCommunication self) → SBBroadcaster
static GetBroadcasterClass() → char const *
GetCloseOnEOF(SBCommunication self) → bool
IsConnected(SBCommunication self) → bool
IsValid(SBCommunication self) → bool
Read(SBCommunication self, void * dst, size_t dst_len, uint32_t timeout_usec, lldb::ConnectionStatus & status) → size_t
ReadThreadIsRunning(SBCommunication self) → bool
ReadThreadStart(SBCommunication self) → bool
ReadThreadStop(SBCommunication self) → bool
SetCloseOnEOF(SBCommunication self, bool b)
SetReadThreadBytesReceivedCallback(SBCommunication self, lldb::SBCommunication::ReadThreadBytesReceived callback, void * callback_baton) → bool
Write(SBCommunication self, void const * src, size_t src_len, lldb::ConnectionStatus & status) → size_t