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='139703229754576'>
eBroadcastBitDisconnected = <Mock name='mock.SBCommunication_eBroadcastBitDisconnected' id='139703229770000'>
eBroadcastBitPacketAvailable = <Mock name='mock.SBCommunication_eBroadcastBitPacketAvailable' id='139703229758096'>
eBroadcastBitReadThreadDidExit = <Mock name='mock.SBCommunication_eBroadcastBitReadThreadDidExit' id='139703229766864'>
eBroadcastBitReadThreadGotBytes = <Mock name='mock.SBCommunication_eBroadcastBitReadThreadGotBytes' id='139703229766992'>
eBroadcastBitReadThreadShouldExit = <Mock name='mock.SBCommunication_eBroadcastBitReadThreadShouldExit' id='139703229764176'>

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