LLDB mainline
|
#include <ProtocolServer.h>
Classes | |
struct | Connection |
Public Member Functions | |
ProtocolServer ()=default | |
virtual | ~ProtocolServer ()=default |
virtual llvm::Error | Start (Connection connection)=0 |
virtual llvm::Error | Stop ()=0 |
virtual Socket * | GetSocket () const =0 |
![]() | |
PluginInterface ()=default | |
virtual | ~PluginInterface ()=default |
virtual llvm::StringRef | GetPluginName ()=0 |
PluginInterface (const PluginInterface &)=delete | |
PluginInterface & | operator= (const PluginInterface &)=delete |
Static Public Member Functions | |
static ProtocolServer * | GetOrCreate (llvm::StringRef name) |
static llvm::Error | Terminate () |
static std::vector< llvm::StringRef > | GetSupportedProtocols () |
Definition at line 18 of file ProtocolServer.h.
|
default |
|
virtualdefault |
|
static |
Definition at line 22 of file ProtocolServer.cpp.
References lldb_private::PluginManager::GetProtocolCreateCallbackForPluginName(), and Servers().
Referenced by CommandObjectProtocolServerStart::DoExecute(), and CommandObjectProtocolServerStop::DoExecute().
|
pure virtual |
Implemented in lldb_private::mcp::ProtocolServerMCP.
Referenced by CommandObjectProtocolServerStart::DoExecute().
|
static |
Definition at line 40 of file ProtocolServer.cpp.
References lldb_private::PluginManager::GetProtocolServerPluginNameAtIndex().
Referenced by CommandObjectProtocolServerStart::DoExecute(), and CommandObjectProtocolServerStop::DoExecute().
|
pure virtual |
Implemented in lldb_private::mcp::ProtocolServerMCP.
Referenced by CommandObjectProtocolServerStart::DoExecute().
|
pure virtual |
Implemented in lldb_private::mcp::ProtocolServerMCP.
Referenced by CommandObjectProtocolServerStop::DoExecute().
|
static |
Definition at line 54 of file ProtocolServer.cpp.
References error(), and Servers().
Referenced by lldb_private::mcp::ProtocolServerMCP::Terminate().