Example #1
0
 def __init__(self, hostname, username, password, extension):
     factory = ManagerConnectionFactory(hostname, username, password)
     self.managerConnection = factory.createManagerConnection()
     self.extensionToMonitor = extension
Example #2
0
 def __init__(self):
     factory = ManagerConnectionFactory("localhost", "manager", "pa55word")
     self.managerConnection = factory.createManagerConnection()