mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:07:45 +00:00
Services: Add InspectorServer to reverse the direction of Inspector
This service daemon will act as an intermediary between the Inspector program and the inspectable programs it wants to inspect. Programs can make themselves available for inspection by connecting to /tmp/portal/inspectables using the Core::EventLoop RPC protocol.
This commit is contained in:
parent
3c3b384c80
commit
3d3a5b431f
11 changed files with 332 additions and 0 deletions
10
Userland/Services/InspectorServer/InspectorServer.ipc
Normal file
10
Userland/Services/InspectorServer/InspectorServer.ipc
Normal file
|
@ -0,0 +1,10 @@
|
|||
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)
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue