Browse Source

[213] Document a parameter

Michal 'vorner' Vaner 13 years ago
parent
commit
bd938be1ca
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/bin/bind10/bind10_src.py.in

+ 5 - 0
src/bin/bind10/bind10_src.py.in

@@ -617,8 +617,13 @@ class BoB:
         """
         Put another process into boss to watch over it.  When the process
         dies, the info.failed() is called with the exit code.
+
+        It is expected the info is a isc.bind10.component.BaseComponent
+        subclass (or anything having the same interface).
         """
         if '_procinfo' in dir(info):
+            # FIXME: This is temporary and the interface of the component
+            # doesn't guarantee the existence.
             self.processes[pid] = info._procinfo
         else:
             # XXX: a short term hack.  This is the sockcreator.