Example #1
0
class GraylogService(service.Service):
    """ Graylog Service that will be started by twisted
    """
    def __init__(self, protocol, host, port):
        self.observer = GraylogObserver(protocol, host, port)

    def startService(self):
        service.Service.startService(self)
        self.observer.start()

    def stopService(self):
        service.Service.stopService(self)
        self.observer.stop()
Example #2
0
class GraylogService(service.Service):
    """ Graylog Service that will be started by twisted
    """

    def __init__(self, protocol, host, port):
        self.observer = GraylogObserver(protocol, host, port)

    def startService(self):
        service.Service.startService(self)
        self.observer.start()

    def stopService(self):
        service.Service.stopService(self)
        self.observer.stop()
Example #3
0
 def __init__(self, protocol, host, port):
     self.observer = GraylogObserver(protocol, host, port)
Example #4
0
 def __init__(self, protocol, host, port):
     self.observer = GraylogObserver(protocol, host, port)