Exemple #1
0
    def __init__(self, app_name, icon_name):
        AgentThreadedBase.__init__(self)
        self.app_name=app_name
        self.icon_name="important"
        pynotify.init(app_name)        

        self.types=["w", "e", "warning", "error"]
Exemple #2
0
 def __init__(self, app_name, logpath):
     """
     @param interval: interval in seconds
     """
     AgentThreadedBase.__init__(self)
     self._logger = None
     self.fhdlr = None
     self._shutdown = False
     self.appname = app_name
     self.logpath = os.path.expanduser(logpath)
     self._setup()
Exemple #3
0
 def __init__(self, app_name, logpath):
     """
     @param interval: interval in seconds
     """
     AgentThreadedBase.__init__(self)
     self._logger=None
     self.fhdlr=None
     self._shutdown=False
     self.appname=app_name
     self.logpath=os.path.expanduser(logpath)
     self._setup()        
Exemple #4
0
    def __init__(self):
        AgentThreadedBase.__init__(self)

        self.stx = SignalTx(self)
Exemple #5
0
 def __init__(self):
     AgentThreadedBase.__init__(self)
     try:
         self.ip = get_ip()[0]
     except:
         self.ip = None
Exemple #6
0
    def __init__(self):
        AgentThreadedBase.__init__(self)

        self.stx=SignalTx(self)
Exemple #7
0
 def __init__(self):
     AgentThreadedBase.__init__(self)
     try:
         self.ip=get_ip()[0]
     except:
         self.ip=None
Exemple #8
0
 def __init__(self):
     AgentThreadedBase.__init__(self)
     
     self.mr=MulticastReceiver(self.GROUP, self.PORT)
Exemple #9
0
 def __init__(self):
     AgentThreadedBase.__init__(self)
Exemple #10
0
 def __init__(self):
     AgentThreadedBase.__init__(self)