1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:57:35 +00:00

Userland: Rename IPC::ServerConnection=>IPC::ConnectionToServer

This was done with CLion's automatic rename feature.
This commit is contained in:
Itamar 2022-02-25 12:27:37 +02:00 committed by Andreas Kling
parent 3a71748e5d
commit d88da82e28
26 changed files with 53 additions and 53 deletions

View file

@ -262,7 +262,7 @@ void ServerConnectionWrapper::try_respawn_connection()
if (!m_respawn_allowed)
return;
dbgln("Respawning ServerConnection");
dbgln("Respawning ConnectionToServer");
create_connection();
// After respawning the language-server, we have to send the content of open project files

View file

@ -15,7 +15,7 @@
#include <AK/Weakable.h>
#include <LibCore/ElapsedTimer.h>
#include <LibCpp/Preprocessor.h>
#include <LibIPC/ServerConnection.h>
#include <LibIPC/ConnectionToServer.h>
#include <DevTools/HackStudio/LanguageServers/LanguageClientEndpoint.h>
#include <DevTools/HackStudio/LanguageServers/LanguageServerEndpoint.h>
@ -26,13 +26,13 @@ class LanguageClient;
class ServerConnectionWrapper;
class ServerConnection
: public IPC::ServerConnection<LanguageClientEndpoint, LanguageServerEndpoint>
: public IPC::ConnectionToServer<LanguageClientEndpoint, LanguageServerEndpoint>
, public LanguageClientEndpoint {
friend class ServerConnectionWrapper;
public:
ServerConnection(NonnullOwnPtr<Core::Stream::LocalSocket> socket, const String& project_path)
: IPC::ServerConnection<LanguageClientEndpoint, LanguageServerEndpoint>(*this, move(socket))
: IPC::ConnectionToServer<LanguageClientEndpoint, LanguageServerEndpoint>(*this, move(socket))
{
m_project_path = project_path;
async_greet(m_project_path);

View file

@ -10,7 +10,7 @@
#include <AK/LexicalPath.h>
#include <DevTools/HackStudio/LanguageServers/LanguageClientEndpoint.h>
#include <DevTools/HackStudio/LanguageServers/LanguageServerEndpoint.h>
#include <LibIPC/ServerConnection.h>
#include <LibIPC/ConnectionToServer.h>
#define LANGUAGE_CLIENT(language_name_, socket_name) \
namespace language_name_ { \