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='140693321137840'>¶
-
eBroadcastBitDisconnected
= <Mock name='mock.SBCommunication_eBroadcastBitDisconnected' id='140693321137456'>¶
-
eBroadcastBitPacketAvailable
= <Mock name='mock.SBCommunication_eBroadcastBitPacketAvailable' id='140693321137792'>¶
-
eBroadcastBitReadThreadDidExit
= <Mock name='mock.SBCommunication_eBroadcastBitReadThreadDidExit' id='140693321137696'>¶
-
eBroadcastBitReadThreadGotBytes
= <Mock name='mock.SBCommunication_eBroadcastBitReadThreadGotBytes' id='140693321137648'>¶
-
eBroadcastBitReadThreadShouldExit
= <Mock name='mock.SBCommunication_eBroadcastBitReadThreadShouldExit' id='140693321137744'>¶
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¶
-