SBCommunication¶
- class lldb.SBCommunication(*args)¶
Allows sending/receiving data.
Attributes Summary
Methods Summary
AdoptFileDesriptor(SBCommunication self, …)Connect(SBCommunication self, char const * url)Disconnect(SBCommunication self)GetBroadcaster(SBCommunication self)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)Write(SBCommunication self, …)Attributes Documentation
- eAllEventBits = <Mock name='mock.SBCommunication_eAllEventBits' id='140338457132240'>¶
- eBroadcastBitDisconnected = <Mock name='mock.SBCommunication_eBroadcastBitDisconnected' id='140338457132000'>¶
- eBroadcastBitPacketAvailable = <Mock name='mock.SBCommunication_eBroadcastBitPacketAvailable' id='140338457132192'>¶
- eBroadcastBitReadThreadDidExit = <Mock name='mock.SBCommunication_eBroadcastBitReadThreadDidExit' id='140338457132048'>¶
- eBroadcastBitReadThreadGotBytes = <Mock name='mock.SBCommunication_eBroadcastBitReadThreadGotBytes' id='140338457131952'>¶
- eBroadcastBitReadThreadShouldExit = <Mock name='mock.SBCommunication_eBroadcastBitReadThreadShouldExit' id='140338457132144'>¶
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¶