summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2010-04-05 16:56:17 +0200
committerAlexis211 <alexis211@gmail.com>2010-04-05 16:56:17 +0200
commit8d94ae49601e0e4023bcdc35191669b2c24f6c96 (patch)
tree64d625ee6aa5a897666be2768d009b2353ba97d9 /doc
parentb945eafa126d6a17aa8826a405df7d5d4d999008 (diff)
downloadTCE-8d94ae49601e0e4023bcdc35191669b2c24f6c96.tar.gz
TCE-8d94ae49601e0e4023bcdc35191669b2c24f6c96.zip
More work on IPC.
Diffstat (limited to 'doc')
-rw-r--r--doc/manager.txt17
1 files changed, 17 insertions, 0 deletions
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.