Commit f70b2d9f authored by Jelte Jansen's avatar Jelte Jansen
Browse files

listen to ConfigManager channel for commands


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@135 e5f2f494-b856-4b98-b285-d166d9295462
parent da4e68a2
......@@ -3,6 +3,7 @@ import ISC
class ConfigManager:
def __init__(self):
self.cc = ISC.CC.Session()
self.cc.group_subscribe("ConfigManager")
def read_config(self, filename):
pass
......@@ -12,6 +13,9 @@ class ConfigManager:
def run(self):
while (True):
env, msg = self.cc.group_recvmsg(False)
print "message: "
print msg
pass
if __name__ == "__main__":
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment