From 8d94ae49601e0e4023bcdc35191669b2c24f6c96 Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Mon, 5 Apr 2010 16:56:17 +0200 Subject: More work on IPC. --- doc/manager.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 doc/manager.txt (limited to 'doc') diff --git a/doc/manager.txt b/doc/manager.txt new file mode 100644 index 0000000..5603ee5 --- /dev/null +++ b/doc/manager.txt @@ -0,0 +1,17 @@ +The manager is a service whose role is to manage all other services. By default, all loaded modules +get a descriptor to the manager service (descriptor 1). + +Each service has a set of ressources that can get a descriptor by openning them. These ressources +are identified by a string, such as : +kbd:readtext +file:root/System/ +console:myuser/main + +To open these objects, a process would call the open() method on the manager object. The manager would +then call the open() method on the corresponding process with the string after the first semicolon +(for example: open("file:root/System") would call file.open("root/System")). + +If the string is just a service name (like open("kbd")), the manager would return a descriptor to the +root object for that service. + +The manager is also the one that handle log entries for services, for the moment by printing them on the screen. -- cgit v1.2.3