SBCommunication#

class lldb.SBCommunication(*args)#

Allows sending/receiving data.

Attributes Summary

eAllEventBits

eBroadcastBitDisconnected

Sent when the communications connection is lost.

eBroadcastBitPacketAvailable

Sent when data received makes a complete packet.

eBroadcastBitReadThreadDidExit

Sent by the read thread when it exits to inform clients.

eBroadcastBitReadThreadGotBytes

Sent by the read thread when bytes become available.

eBroadcastBitReadThreadShouldExit

Sent by clients that need to cancel the read thread.

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='139715497929552'>#
eBroadcastBitDisconnected = <Mock name='mock.SBCommunication_eBroadcastBitDisconnected' id='139715497928336'>#

Sent when the communications connection is lost.

eBroadcastBitPacketAvailable = <Mock name='mock.SBCommunication_eBroadcastBitPacketAvailable' id='139715497928720'>#

Sent when data received makes a complete packet.

eBroadcastBitReadThreadDidExit = <Mock name='mock.SBCommunication_eBroadcastBitReadThreadDidExit' id='139715497928464'>#

Sent by the read thread when it exits to inform clients.

eBroadcastBitReadThreadGotBytes = <Mock name='mock.SBCommunication_eBroadcastBitReadThreadGotBytes' id='139715497928400'>#

Sent by the read thread when bytes become available.

eBroadcastBitReadThreadShouldExit = <Mock name='mock.SBCommunication_eBroadcastBitReadThreadShouldExit' id='139715497928848'>#

Sent by clients that need to cancel the read thread.

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#