SBProtocolServer#
- class lldb.SBProtocolServer(*args)#
A server that speaks a debugging protocol.
Protocol servers are shared across debuggers. Creating a server for a protocol that already has one hands back the existing server.
Methods Summary
Create(protocol, error)Returns the protocol server for
protocol, creating it if this process does not already have one.Returns the URI clients can connect to, valid after a successful Start, or nullptr if the server is not listening.
IsValid(SBProtocolServer self)Start(connection_uri)Starts listening for clients on
connection_uri, which must be an accepting URI such as "listen://[host]:port" or "accept:///path".Stop(SBProtocolServer self)Methods Documentation
- static Create(protocol, error)#
Returns the protocol server for
protocol, creating it if this process does not already have one. On failureerroris set.
- GetConnectionURI()#
Returns the URI clients can connect to, valid after a successful Start, or nullptr if the server is not listening.
- IsValid(SBProtocolServer self) bool#
- Start(connection_uri)#
Starts listening for clients on
connection_uri, which must be an accepting URI such as “listen://[host]:port” or “accept:///path”.