Exemplo n.º 1
0
 def __init__(self, noopts=0, app=None, connect=False):
     CmdBase.__init__(self, noopts)
     self.dataroot = None
     self.app = app
     self.db = None
     if connect:
         self.connect()
Exemplo n.º 2
0
 def __init__(self):
     CmdBase.__init__(self)
     self.processor = SyslogProcessor(self.sendEvent,
                                      self.options.minpriority, False,
                                      "localhost", 2)
     self.keptEvent = False
     self.totalSent = 0
Exemplo n.º 3
0
 def __init__(self, noopts=0, app=None, connect=False, should_log=True):
     CmdBase.__init__(self, noopts, should_log=should_log)
     self.dataroot = None
     self.app = app
     self.db = None
     if connect:
         self.connect()
 def __init__(self):
     CmdBase.__init__(self)
     self.processor = SyslogProcessor(self.sendEvent,
                 self.options.minpriority, False,
                 "localhost", 2)
     self.keptEvent = False
     self.totalSent = 0
Exemplo n.º 5
0
 def __init__(self, noopts=0, app=None, connect=False, should_log=True):
     CmdBase.__init__(self, noopts, should_log=should_log)
     self.dataroot = None
     self.app = app
     self.db = None
     if connect:
         self.connect()
 def __init__(self, noopts=0, app=None, connect=False):
     CmdBase.__init__(self, noopts)
     self.dataroot = None
     self.app = app
     self.db = None
     if connect:
         self.connect()
 def __init__(self):
     CmdBase.__init__(self)
     self.host = socket.gethostbyname(self.options.host)
     self.sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
Exemplo n.º 8
0
 def __init__(self):
     CmdBase.__init__(self)
     self.host = socket.gethostbyname(self.options.host)
     self.sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
Exemplo n.º 9
0
 def __init__(self, noopts=0):
     CmdBase.__init__(self, noopts)
     self.proxy = None
Exemplo n.º 10
0
 def __init__(self, noopts=0):
     CmdBase.__init__(self, noopts)
     self.proxy = None