summaryrefslogtreecommitdiff
path: root/Libraries/LibProtocol
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-12-02 09:58:25 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-12-02 11:11:05 +0100
commit4a37bec27c430b867143d986cd07f83111d3e018 (patch)
tree3eaa34d7815fc207507f25416813800d268f81e0 /Libraries/LibProtocol
parent5d4ee0f58ae974a3c34a246a52a1cbab1dce1e88 (diff)
downloadserenity-4a37bec27c430b867143d986cd07f83111d3e018.zip
LibIPC: Rename base classes to IClientConnection and IServerConnection
This matches what we're already calling the server-side subclasses better, though we'll probably want to find some better names for the client-side classes eventually.
Diffstat (limited to 'Libraries/LibProtocol')
-rw-r--r--Libraries/LibProtocol/Client.cpp2
-rw-r--r--Libraries/LibProtocol/Client.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibProtocol/Client.cpp b/Libraries/LibProtocol/Client.cpp
index cb53ec916e..dd7b1de771 100644
--- a/Libraries/LibProtocol/Client.cpp
+++ b/Libraries/LibProtocol/Client.cpp
@@ -5,7 +5,7 @@
namespace LibProtocol {
Client::Client()
- : ConnectionNG(*this, "/tmp/portal/protocol")
+ : IServerConnection(*this, "/tmp/portal/protocol")
{
handshake();
}
diff --git a/Libraries/LibProtocol/Client.h b/Libraries/LibProtocol/Client.h
index fc90dc9320..30a4ecb258 100644
--- a/Libraries/LibProtocol/Client.h
+++ b/Libraries/LibProtocol/Client.h
@@ -8,7 +8,7 @@ namespace LibProtocol {
class Download;
-class Client : public IPC::Client::ConnectionNG<ProtocolClientEndpoint, ProtocolServerEndpoint>
+class Client : public IServerConnection<ProtocolClientEndpoint, ProtocolServerEndpoint>
, public ProtocolClientEndpoint {
C_OBJECT(Client)
public: