diff options
author | Itamar <itamar8910@gmail.com> | 2022-02-25 12:27:37 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-25 22:35:12 +0100 |
commit | d88da82e281e041c24d5c61194e7646926341610 (patch) | |
tree | a3ab109b168d5356526b2671788cbfee776495c7 | |
parent | 3a71748e5d16a244c21aaf28ca3c4220c47f484e (diff) | |
download | serenity-d88da82e281e041c24d5c61194e7646926341610.zip |
Userland: Rename IPC::ServerConnection=>IPC::ConnectionToServer
This was done with CLion's automatic rename feature.
26 files changed, 53 insertions, 53 deletions
diff --git a/Userland/DevTools/HackStudio/LanguageClient.cpp b/Userland/DevTools/HackStudio/LanguageClient.cpp index 89678cfb38..53b5632b34 100644 --- a/Userland/DevTools/HackStudio/LanguageClient.cpp +++ b/Userland/DevTools/HackStudio/LanguageClient.cpp @@ -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 diff --git a/Userland/DevTools/HackStudio/LanguageClient.h b/Userland/DevTools/HackStudio/LanguageClient.h index f66d272697..2151ae3d25 100644 --- a/Userland/DevTools/HackStudio/LanguageClient.h +++ b/Userland/DevTools/HackStudio/LanguageClient.h @@ -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); diff --git a/Userland/DevTools/HackStudio/LanguageClients/ServerConnections.h b/Userland/DevTools/HackStudio/LanguageClients/ServerConnections.h index 7618676a65..a5e1496d28 100644 --- a/Userland/DevTools/HackStudio/LanguageClients/ServerConnections.h +++ b/Userland/DevTools/HackStudio/LanguageClients/ServerConnections.h @@ -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_ { \ diff --git a/Userland/DevTools/Inspector/InspectorServerClient.h b/Userland/DevTools/Inspector/InspectorServerClient.h index f30c6a7a99..8ce73d7c0a 100644 --- a/Userland/DevTools/Inspector/InspectorServerClient.h +++ b/Userland/DevTools/Inspector/InspectorServerClient.h @@ -8,12 +8,12 @@ #include <InspectorServer/InspectorClientEndpoint.h> #include <InspectorServer/InspectorServerEndpoint.h> -#include <LibIPC/ServerConnection.h> +#include <LibIPC/ConnectionToServer.h> namespace Inspector { class InspectorServerClient final - : public IPC::ServerConnection<InspectorClientEndpoint, InspectorServerEndpoint> + : public IPC::ConnectionToServer<InspectorClientEndpoint, InspectorServerEndpoint> , public InspectorClientEndpoint { IPC_CLIENT_CONNECTION(InspectorServerClient, "/tmp/portal/inspector") @@ -22,7 +22,7 @@ public: private: InspectorServerClient(NonnullOwnPtr<Core::Stream::LocalSocket> socket) - : IPC::ServerConnection<InspectorClientEndpoint, InspectorServerEndpoint>(*this, move(socket)) + : IPC::ConnectionToServer<InspectorClientEndpoint, InspectorServerEndpoint>(*this, move(socket)) { } }; diff --git a/Userland/Libraries/LibAudio/ConnectionFromClient.cpp b/Userland/Libraries/LibAudio/ConnectionFromClient.cpp index 74d0c907c7..ae5ee7210b 100644 --- a/Userland/Libraries/LibAudio/ConnectionFromClient.cpp +++ b/Userland/Libraries/LibAudio/ConnectionFromClient.cpp @@ -15,7 +15,7 @@ namespace Audio { static timespec g_enqueue_wait_time { 0, 10'000'000 }; ConnectionFromClient::ConnectionFromClient(NonnullOwnPtr<Core::Stream::LocalSocket> socket) - : IPC::ServerConnection<AudioClientEndpoint, AudioServerEndpoint>(*this, move(socket)) + : IPC::ConnectionToServer<AudioClientEndpoint, AudioServerEndpoint>(*this, move(socket)) { } diff --git a/Userland/Libraries/LibAudio/ConnectionFromClient.h b/Userland/Libraries/LibAudio/ConnectionFromClient.h index f84243cf6f..7210353075 100644 --- a/Userland/Libraries/LibAudio/ConnectionFromClient.h +++ b/Userland/Libraries/LibAudio/ConnectionFromClient.h @@ -8,14 +8,14 @@ #include <AudioServer/AudioClientEndpoint.h> #include <AudioServer/AudioServerEndpoint.h> -#include <LibIPC/ServerConnection.h> +#include <LibIPC/ConnectionToServer.h> namespace Audio { class Buffer; class ConnectionFromClient final - : public IPC::ServerConnection<AudioClientEndpoint, AudioServerEndpoint> + : public IPC::ConnectionToServer<AudioClientEndpoint, AudioServerEndpoint> , public AudioClientEndpoint { IPC_CLIENT_CONNECTION(ConnectionFromClient, "/tmp/portal/audio") public: diff --git a/Userland/Libraries/LibConfig/Client.h b/Userland/Libraries/LibConfig/Client.h index c24ee043fa..99d45a2fc6 100644 --- a/Userland/Libraries/LibConfig/Client.h +++ b/Userland/Libraries/LibConfig/Client.h @@ -11,12 +11,12 @@ #include <LibCore/File.h> #include <LibCore/Promise.h> #include <LibCore/StandardPaths.h> -#include <LibIPC/ServerConnection.h> +#include <LibIPC/ConnectionToServer.h> namespace Config { class Client final - : public IPC::ServerConnection<ConfigClientEndpoint, ConfigServerEndpoint> + : public IPC::ConnectionToServer<ConfigClientEndpoint, ConfigServerEndpoint> , public ConfigClientEndpoint { IPC_CLIENT_CONNECTION(Client, "/tmp/portal/config") @@ -40,7 +40,7 @@ public: private: explicit Client(NonnullOwnPtr<Core::Stream::LocalSocket> socket) - : IPC::ServerConnection<ConfigClientEndpoint, ConfigServerEndpoint>(*this, move(socket)) + : IPC::ConnectionToServer<ConfigClientEndpoint, ConfigServerEndpoint>(*this, move(socket)) { } diff --git a/Userland/Libraries/LibDesktop/Launcher.cpp b/Userland/Libraries/LibDesktop/Launcher.cpp index fed12f699e..606827e6fa 100644 --- a/Userland/Libraries/LibDesktop/Launcher.cpp +++ b/Userland/Libraries/LibDesktop/Launcher.cpp @@ -9,7 +9,7 @@ #include <LaunchServer/LaunchClientEndpoint.h> #include <LaunchServer/LaunchServerEndpoint.h> #include <LibDesktop/Launcher.h> -#include <LibIPC/ServerConnection.h> +#include <LibIPC/ConnectionToServer.h> #include <stdlib.h> namespace Desktop { @@ -34,12 +34,12 @@ auto Launcher::Details::from_details_str(const String& details_str) -> NonnullRe } class LaunchServerConnection final - : public IPC::ServerConnection<LaunchClientEndpoint, LaunchServerEndpoint> + : public IPC::ConnectionToServer<LaunchClientEndpoint, LaunchServerEndpoint> , public LaunchClientEndpoint { IPC_CLIENT_CONNECTION(LaunchServerConnection, "/tmp/portal/launch") private: LaunchServerConnection(NonnullOwnPtr<Core::Stream::LocalSocket> socket) - : IPC::ServerConnection<LaunchClientEndpoint, LaunchServerEndpoint>(*this, move(socket)) + : IPC::ConnectionToServer<LaunchClientEndpoint, LaunchServerEndpoint>(*this, move(socket)) { } }; diff --git a/Userland/Libraries/LibFileSystemAccessClient/Client.h b/Userland/Libraries/LibFileSystemAccessClient/Client.h index 759e15de03..c50e342e86 100644 --- a/Userland/Libraries/LibFileSystemAccessClient/Client.h +++ b/Userland/Libraries/LibFileSystemAccessClient/Client.h @@ -13,14 +13,14 @@ #include <LibCore/Promise.h> #include <LibCore/StandardPaths.h> #include <LibGUI/Window.h> -#include <LibIPC/ServerConnection.h> +#include <LibIPC/ConnectionToServer.h> namespace FileSystemAccessClient { using Result = ErrorOr<NonnullRefPtr<Core::File>>; class Client final - : public IPC::ServerConnection<FileSystemAccessClientEndpoint, FileSystemAccessServerEndpoint> + : public IPC::ConnectionToServer<FileSystemAccessClientEndpoint, FileSystemAccessServerEndpoint> , public FileSystemAccessClientEndpoint { IPC_CLIENT_CONNECTION(Client, "/tmp/portal/filesystemaccess") @@ -37,7 +37,7 @@ protected: private: explicit Client(NonnullOwnPtr<Core::Stream::LocalSocket> socket) - : IPC::ServerConnection<FileSystemAccessClientEndpoint, FileSystemAccessServerEndpoint>(*this, move(socket)) + : IPC::ConnectionToServer<FileSystemAccessClientEndpoint, FileSystemAccessServerEndpoint>(*this, move(socket)) { } diff --git a/Userland/Libraries/LibGUI/Clipboard.cpp b/Userland/Libraries/LibGUI/Clipboard.cpp index 9e1cb1a287..a548451055 100644 --- a/Userland/Libraries/LibGUI/Clipboard.cpp +++ b/Userland/Libraries/LibGUI/Clipboard.cpp @@ -9,18 +9,18 @@ #include <Clipboard/ClipboardServerEndpoint.h> #include <LibGUI/Clipboard.h> #include <LibGfx/Bitmap.h> -#include <LibIPC/ServerConnection.h> +#include <LibIPC/ConnectionToServer.h> namespace GUI { class ClipboardServerConnection final - : public IPC::ServerConnection<ClipboardClientEndpoint, ClipboardServerEndpoint> + : public IPC::ConnectionToServer<ClipboardClientEndpoint, ClipboardServerEndpoint> , public ClipboardClientEndpoint { IPC_CLIENT_CONNECTION(ClipboardServerConnection, "/tmp/portal/clipboard") private: ClipboardServerConnection(NonnullOwnPtr<Core::Stream::LocalSocket> socket) - : IPC::ServerConnection<ClipboardClientEndpoint, ClipboardServerEndpoint>(*this, move(socket)) + : IPC::ConnectionToServer<ClipboardClientEndpoint, ClipboardServerEndpoint>(*this, move(socket)) { } diff --git a/Userland/Libraries/LibGUI/Notification.cpp b/Userland/Libraries/LibGUI/Notification.cpp index 0f7e4207cb..90bbd928bf 100644 --- a/Userland/Libraries/LibGUI/Notification.cpp +++ b/Userland/Libraries/LibGUI/Notification.cpp @@ -5,14 +5,14 @@ */ #include <LibGUI/Notification.h> -#include <LibIPC/ServerConnection.h> +#include <LibIPC/ConnectionToServer.h> #include <NotificationServer/NotificationClientEndpoint.h> #include <NotificationServer/NotificationServerEndpoint.h> namespace GUI { class NotificationServerConnection final - : public IPC::ServerConnection<NotificationClientEndpoint, NotificationServerEndpoint> + : public IPC::ConnectionToServer<NotificationClientEndpoint, NotificationServerEndpoint> , public NotificationClientEndpoint { IPC_CLIENT_CONNECTION(NotificationServerConnection, "/tmp/portal/notify") @@ -26,7 +26,7 @@ public: private: explicit NotificationServerConnection(NonnullOwnPtr<Core::Stream::LocalSocket> socket, Notification* notification) - : IPC::ServerConnection<NotificationClientEndpoint, NotificationServerEndpoint>(*this, move(socket)) + : IPC::ConnectionToServer<NotificationClientEndpoint, NotificationServerEndpoint>(*this, move(socket)) , m_notification(notification) { } diff --git a/Userland/Libraries/LibGUI/WindowManagerServerConnection.h b/Userland/Libraries/LibGUI/WindowManagerServerConnection.h index db9c3d5f79..b2f890e0c8 100644 --- a/Userland/Libraries/LibGUI/WindowManagerServerConnection.h +++ b/Userland/Libraries/LibGUI/WindowManagerServerConnection.h @@ -6,7 +6,7 @@ #pragma once -#include <LibIPC/ServerConnection.h> +#include <LibIPC/ConnectionToServer.h> #include <WindowServer/ScreenLayout.h> #include <WindowServer/WindowManagerClientEndpoint.h> #include <WindowServer/WindowManagerServerEndpoint.h> @@ -14,7 +14,7 @@ namespace GUI { class WindowManagerServerConnection final - : public IPC::ServerConnection<WindowManagerClientEndpoint, WindowManagerServerEndpoint> + : public IPC::ConnectionToServer<WindowManagerClientEndpoint, WindowManagerServerEndpoint> , public WindowManagerClientEndpoint { IPC_CLIENT_CONNECTION(WindowManagerServerConnection, "/tmp/portal/wm") @@ -23,7 +23,7 @@ public: private: WindowManagerServerConnection(NonnullOwnPtr<Core::Stream::LocalSocket> socket) - : IPC::ServerConnection<WindowManagerClientEndpoint, WindowManagerServerEndpoint>(*this, move(socket)) + : IPC::ConnectionToServer<WindowManagerClientEndpoint, WindowManagerServerEndpoint>(*this, move(socket)) { } diff --git a/Userland/Libraries/LibGUI/WindowServerConnection.cpp b/Userland/Libraries/LibGUI/WindowServerConnection.cpp index 5498ffa0db..aa5094c9f5 100644 --- a/Userland/Libraries/LibGUI/WindowServerConnection.cpp +++ b/Userland/Libraries/LibGUI/WindowServerConnection.cpp @@ -42,7 +42,7 @@ static void set_system_theme_from_anonymous_buffer(Core::AnonymousBuffer buffer) } WindowServerConnection::WindowServerConnection(NonnullOwnPtr<Core::Stream::LocalSocket> socket) - : IPC::ServerConnection<WindowClientEndpoint, WindowServerEndpoint>(*this, move(socket)) + : IPC::ConnectionToServer<WindowClientEndpoint, WindowServerEndpoint>(*this, move(socket)) { // NOTE: WindowServer automatically sends a "fast_greet" message to us when we connect. // All we have to do is wait for it to arrive. This avoids a round-trip during application startup. diff --git a/Userland/Libraries/LibGUI/WindowServerConnection.h b/Userland/Libraries/LibGUI/WindowServerConnection.h index 065f28f01d..43fc3cd00b 100644 --- a/Userland/Libraries/LibGUI/WindowServerConnection.h +++ b/Userland/Libraries/LibGUI/WindowServerConnection.h @@ -6,7 +6,7 @@ #pragma once -#include <LibIPC/ServerConnection.h> +#include <LibIPC/ConnectionToServer.h> #include <WindowServer/ScreenLayout.h> #include <WindowServer/WindowClientEndpoint.h> #include <WindowServer/WindowServerEndpoint.h> @@ -14,7 +14,7 @@ namespace GUI { class WindowServerConnection final - : public IPC::ServerConnection<WindowClientEndpoint, WindowServerEndpoint> + : public IPC::ConnectionToServer<WindowClientEndpoint, WindowServerEndpoint> , public WindowClientEndpoint { IPC_CLIENT_CONNECTION(WindowServerConnection, "/tmp/portal/window") public: diff --git a/Userland/Libraries/LibIPC/ServerConnection.h b/Userland/Libraries/LibIPC/ConnectionToServer.h index 394f8b6630..38994155dd 100644 --- a/Userland/Libraries/LibIPC/ServerConnection.h +++ b/Userland/Libraries/LibIPC/ConnectionToServer.h @@ -25,14 +25,14 @@ public: } template<typename ClientEndpoint, typename ServerEndpoint> -class ServerConnection : public IPC::Connection<ClientEndpoint, ServerEndpoint> +class ConnectionToServer : public IPC::Connection<ClientEndpoint, ServerEndpoint> , public ClientEndpoint::Stub , public ServerEndpoint::template Proxy<ClientEndpoint> { public: using ClientStub = typename ClientEndpoint::Stub; using IPCProxy = typename ServerEndpoint::template Proxy<ClientEndpoint>; - ServerConnection(ClientStub& local_endpoint, NonnullOwnPtr<Core::Stream::LocalSocket> socket) + ConnectionToServer(ClientStub& local_endpoint, NonnullOwnPtr<Core::Stream::LocalSocket> socket) : Connection<ClientEndpoint, ServerEndpoint>(local_endpoint, move(socket)) , ServerEndpoint::template Proxy<ClientEndpoint>(*this, {}) { diff --git a/Userland/Libraries/LibImageDecoderClient/Client.cpp b/Userland/Libraries/LibImageDecoderClient/Client.cpp index 417e6869e3..766902bf20 100644 --- a/Userland/Libraries/LibImageDecoderClient/Client.cpp +++ b/Userland/Libraries/LibImageDecoderClient/Client.cpp @@ -10,7 +10,7 @@ namespace ImageDecoderClient { Client::Client(NonnullOwnPtr<Core::Stream::LocalSocket> socket) - : IPC::ServerConnection<ImageDecoderClientEndpoint, ImageDecoderServerEndpoint>(*this, move(socket)) + : IPC::ConnectionToServer<ImageDecoderClientEndpoint, ImageDecoderServerEndpoint>(*this, move(socket)) { } diff --git a/Userland/Libraries/LibImageDecoderClient/Client.h b/Userland/Libraries/LibImageDecoderClient/Client.h index 7a4ac22148..0fc4572643 100644 --- a/Userland/Libraries/LibImageDecoderClient/Client.h +++ b/Userland/Libraries/LibImageDecoderClient/Client.h @@ -9,7 +9,7 @@ #include <AK/HashMap.h> #include <ImageDecoder/ImageDecoderClientEndpoint.h> #include <ImageDecoder/ImageDecoderServerEndpoint.h> -#include <LibIPC/ServerConnection.h> +#include <LibIPC/ConnectionToServer.h> namespace ImageDecoderClient { @@ -25,7 +25,7 @@ struct DecodedImage { }; class Client final - : public IPC::ServerConnection<ImageDecoderClientEndpoint, ImageDecoderServerEndpoint> + : public IPC::ConnectionToServer<ImageDecoderClientEndpoint, ImageDecoderServerEndpoint> , public ImageDecoderClientEndpoint { IPC_CLIENT_CONNECTION(Client, "/tmp/portal/image"); diff --git a/Userland/Libraries/LibProtocol/RequestClient.cpp b/Userland/Libraries/LibProtocol/RequestClient.cpp index 00fda42af0..3851f6b217 100644 --- a/Userland/Libraries/LibProtocol/RequestClient.cpp +++ b/Userland/Libraries/LibProtocol/RequestClient.cpp @@ -11,7 +11,7 @@ namespace Protocol { RequestClient::RequestClient(NonnullOwnPtr<Core::Stream::LocalSocket> socket) - : IPC::ServerConnection<RequestClientEndpoint, RequestServerEndpoint>(*this, move(socket)) + : IPC::ConnectionToServer<RequestClientEndpoint, RequestServerEndpoint>(*this, move(socket)) { } diff --git a/Userland/Libraries/LibProtocol/RequestClient.h b/Userland/Libraries/LibProtocol/RequestClient.h index 74b4fc8b1e..190a766a26 100644 --- a/Userland/Libraries/LibProtocol/RequestClient.h +++ b/Userland/Libraries/LibProtocol/RequestClient.h @@ -7,7 +7,7 @@ #pragma once #include <AK/HashMap.h> -#include <LibIPC/ServerConnection.h> +#include <LibIPC/ConnectionToServer.h> #include <RequestServer/RequestClientEndpoint.h> #include <RequestServer/RequestServerEndpoint.h> @@ -16,7 +16,7 @@ namespace Protocol { class Request; class RequestClient final - : public IPC::ServerConnection<RequestClientEndpoint, RequestServerEndpoint> + : public IPC::ConnectionToServer<RequestClientEndpoint, RequestServerEndpoint> , public RequestClientEndpoint { IPC_CLIENT_CONNECTION(RequestClient, "/tmp/portal/request") diff --git a/Userland/Libraries/LibProtocol/WebSocketClient.cpp b/Userland/Libraries/LibProtocol/WebSocketClient.cpp index 9a57235d60..43dccd76c2 100644 --- a/Userland/Libraries/LibProtocol/WebSocketClient.cpp +++ b/Userland/Libraries/LibProtocol/WebSocketClient.cpp @@ -10,7 +10,7 @@ namespace Protocol { WebSocketClient::WebSocketClient(NonnullOwnPtr<Core::Stream::LocalSocket> socket) - : IPC::ServerConnection<WebSocketClientEndpoint, WebSocketServerEndpoint>(*this, move(socket)) + : IPC::ConnectionToServer<WebSocketClientEndpoint, WebSocketServerEndpoint>(*this, move(socket)) { } diff --git a/Userland/Libraries/LibProtocol/WebSocketClient.h b/Userland/Libraries/LibProtocol/WebSocketClient.h index 57a0e9c276..37226c4275 100644 --- a/Userland/Libraries/LibProtocol/WebSocketClient.h +++ b/Userland/Libraries/LibProtocol/WebSocketClient.h @@ -7,7 +7,7 @@ #pragma once #include <AK/HashMap.h> -#include <LibIPC/ServerConnection.h> +#include <LibIPC/ConnectionToServer.h> #include <WebSocket/WebSocketClientEndpoint.h> #include <WebSocket/WebSocketServerEndpoint.h> @@ -16,7 +16,7 @@ namespace Protocol { class WebSocket; class WebSocketClient final - : public IPC::ServerConnection<WebSocketClientEndpoint, WebSocketServerEndpoint> + : public IPC::ConnectionToServer<WebSocketClientEndpoint, WebSocketServerEndpoint> , public WebSocketClientEndpoint { IPC_CLIENT_CONNECTION(WebSocketClient, "/tmp/portal/websocket") diff --git a/Userland/Libraries/LibSQL/SQLClient.h b/Userland/Libraries/LibSQL/SQLClient.h index b6884e03ca..38279992cf 100644 --- a/Userland/Libraries/LibSQL/SQLClient.h +++ b/Userland/Libraries/LibSQL/SQLClient.h @@ -6,14 +6,14 @@ #pragma once -#include <LibIPC/ServerConnection.h> +#include <LibIPC/ConnectionToServer.h> #include <SQLServer/SQLClientEndpoint.h> #include <SQLServer/SQLServerEndpoint.h> namespace SQL { class SQLClient - : public IPC::ServerConnection<SQLClientEndpoint, SQLServerEndpoint> + : public IPC::ConnectionToServer<SQLClientEndpoint, SQLServerEndpoint> , public SQLClientEndpoint { IPC_CLIENT_CONNECTION(SQLClient, "/tmp/portal/sql") virtual ~SQLClient(); @@ -28,7 +28,7 @@ class SQLClient private: SQLClient(NonnullOwnPtr<Core::Stream::LocalSocket> socket) - : IPC::ServerConnection<SQLClientEndpoint, SQLServerEndpoint>(*this, move(socket)) + : IPC::ConnectionToServer<SQLClientEndpoint, SQLServerEndpoint>(*this, move(socket)) { } diff --git a/Userland/Libraries/LibWeb/WebContentClient.cpp b/Userland/Libraries/LibWeb/WebContentClient.cpp index 770fed6e65..9220a61775 100644 --- a/Userland/Libraries/LibWeb/WebContentClient.cpp +++ b/Userland/Libraries/LibWeb/WebContentClient.cpp @@ -12,7 +12,7 @@ namespace Web { WebContentClient::WebContentClient(NonnullOwnPtr<Core::Stream::LocalSocket> socket, OutOfProcessWebView& view) - : IPC::ServerConnection<WebContentClientEndpoint, WebContentServerEndpoint>(*this, move(socket)) + : IPC::ConnectionToServer<WebContentClientEndpoint, WebContentServerEndpoint>(*this, move(socket)) , m_view(view) { } diff --git a/Userland/Libraries/LibWeb/WebContentClient.h b/Userland/Libraries/LibWeb/WebContentClient.h index 14ded8ebf1..cea2774b96 100644 --- a/Userland/Libraries/LibWeb/WebContentClient.h +++ b/Userland/Libraries/LibWeb/WebContentClient.h @@ -7,7 +7,7 @@ #pragma once #include <AK/HashMap.h> -#include <LibIPC/ServerConnection.h> +#include <LibIPC/ConnectionToServer.h> #include <LibWeb/Cookie/ParsedCookie.h> #include <WebContent/WebContentClientEndpoint.h> #include <WebContent/WebContentServerEndpoint.h> @@ -17,7 +17,7 @@ namespace Web { class OutOfProcessWebView; class WebContentClient final - : public IPC::ServerConnection<WebContentClientEndpoint, WebContentServerEndpoint> + : public IPC::ConnectionToServer<WebContentClientEndpoint, WebContentServerEndpoint> , public WebContentClientEndpoint { IPC_CLIENT_CONNECTION(WebContentClient, "/tmp/portal/webcontent"); diff --git a/Userland/Services/SpiceAgent/ClipboardServerConnection.h b/Userland/Services/SpiceAgent/ClipboardServerConnection.h index 3e29de5ee0..c580bb429c 100644 --- a/Userland/Services/SpiceAgent/ClipboardServerConnection.h +++ b/Userland/Services/SpiceAgent/ClipboardServerConnection.h @@ -8,12 +8,12 @@ #include <Clipboard/ClipboardClientEndpoint.h> #include <Clipboard/ClipboardServerEndpoint.h> #include <LibGfx/Bitmap.h> -#include <LibIPC/ServerConnection.h> +#include <LibIPC/ConnectionToServer.h> #pragma once class ClipboardServerConnection final - : public IPC::ServerConnection<ClipboardClientEndpoint, ClipboardServerEndpoint> + : public IPC::ConnectionToServer<ClipboardClientEndpoint, ClipboardServerEndpoint> , public ClipboardClientEndpoint { IPC_CLIENT_CONNECTION(ClipboardServerConnection, "/tmp/portal/clipboard") @@ -24,7 +24,7 @@ public: private: ClipboardServerConnection(NonnullOwnPtr<Core::Stream::LocalSocket> socket) - : IPC::ServerConnection<ClipboardClientEndpoint, ClipboardServerEndpoint>(*this, move(socket)) + : IPC::ConnectionToServer<ClipboardClientEndpoint, ClipboardServerEndpoint>(*this, move(socket)) { } virtual void clipboard_data_changed(String const&) override diff --git a/Userland/Services/SpiceAgent/main.cpp b/Userland/Services/SpiceAgent/main.cpp index e94fb99669..c77803ece4 100644 --- a/Userland/Services/SpiceAgent/main.cpp +++ b/Userland/Services/SpiceAgent/main.cpp @@ -7,7 +7,7 @@ #include "SpiceAgent.h" #include <LibC/fcntl.h> #include <LibCore/System.h> -#include <LibIPC/ServerConnection.h> +#include <LibIPC/ConnectionToServer.h> #include <LibMain/Main.h> static constexpr auto SPICE_DEVICE = "/dev/hvc0p1"sv; |