InspectorServer: Remove unnecessary greet() message

This commit is contained in:
Andreas Kling 2021-05-23 09:22:16 +02:00
parent 78b57fcea3
commit 03df8882df
Notes: sideshowbarker 2024-07-18 17:31:00 +09:00
4 changed files with 0 additions and 9 deletions

View file

@ -20,7 +20,6 @@ class InspectorServerClient final
public:
virtual void handshake() override
{
greet();
}
virtual ~InspectorServerClient() override = default;

View file

@ -27,10 +27,6 @@ void ClientConnection::die()
s_connections.remove(client_id());
}
void ClientConnection::greet()
{
}
Messages::InspectorServer::GetAllObjectsResponse ClientConnection::get_all_objects(pid_t pid)
{
auto process = InspectableProcess::from_pid(pid);

View file

@ -24,7 +24,6 @@ public:
virtual void die() override;
private:
virtual void greet() override;
virtual Messages::InspectorServer::GetAllObjectsResponse get_all_objects(pid_t) override;
virtual Messages::InspectorServer::SetInspectedObjectResponse set_inspected_object(pid_t, u64 object_id) override;
virtual Messages::InspectorServer::SetObjectPropertyResponse set_object_property(pid_t, u64 object_id, String const& name, String const& value) override;

View file

@ -1,10 +1,7 @@
endpoint InspectorServer
{
greet() => ()
get_all_objects(i32 pid) => (String json)
set_inspected_object(i32 pid, u64 object_id) => (bool success)
set_object_property(i32 pid, u64 object_id, String name, String value) => (bool success)
identify(i32 pid) => (String json)
}