def __init__(self, name, auth, processor, method, **method_kwargs):
        service.MultiService.__init__(self)
        super(TwitterStreamListener, self).__init__()

        self.name = name

        # by setting ourselves as the streams service parent, it will be started and
        # stopped when we are.
        self.stream = TwitterStream(auth, listener=self)
        self.stream.setServiceParent(self)

        # Get and call the stream method. Since we've overridden ``_start``, no requests
        # will be performed before the service is started.
        self.method = getattr(self.stream, method)
        self.method(**method_kwargs)

        # create the dependency config for the processor, and allow the user to use a simple string as the
        # processor name as a shorthand.
        self.processor_config = dict(provider=processor) if isinstance(processor, basestring) else processor
:param auth: A tweepy AuthHandler.
dataset/ETHPy150Open foundit/Piped/doc/tutorials/twitter/4_processor/twitter_tutorial/provider.py/TwitterStreamListener.__init__