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

LibIPC: Remove unnecessary IPC::ServerConnection::handshake()

This is no longer used by any of our IPC pairs.
This commit is contained in:
Andreas Kling 2021-05-23 09:46:05 +02:00
parent 2eceabdcfd
commit c1c252ddb2
25 changed files with 1 additions and 71 deletions

View file

@ -178,7 +178,6 @@ void ServerConnectionWrapper::create_connection()
VERIFY(m_connection.is_null());
m_connection = m_connection_creator();
m_connection->set_wrapper(*this);
m_connection->handshake();
}
ServerConnection* ServerConnectionWrapper::connection()

View file

@ -37,10 +37,6 @@ public:
async_greet(m_project_path);
}
virtual void handshake() override
{
}
WeakPtr<LanguageClient> language_client() { return m_current_language_client; }
const String& project_path() const { return m_project_path; }

View file

@ -18,17 +18,12 @@ class InspectorServerClient final
C_OBJECT(InspectorServerClient);
public:
virtual void handshake() override
{
}
virtual ~InspectorServerClient() override = default;
private:
InspectorServerClient()
: IPC::ServerConnection<InspectorClientEndpoint, InspectorServerEndpoint>(*this, "/tmp/portal/inspector")
{
handshake();
}
virtual void dummy() override { }