2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00

listen to ConfigManager channel for commands

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@135 e5f2f494-b856-4b98-b285-d166d9295462
This commit is contained in:
Jelte Jansen
2009-10-28 00:19:53 +00:00
parent da4e68a21e
commit f70b2d9f73

View File

@@ -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__":