def __init__(self, port=None, name=None, host=None, dispatcher_url=None):
        
        """
        @ivar tub: foolscap's Tub (Authorized)
        @ivar name: name of Node, will UUID in case of missing name
        @ivar dispatcher: EventDispatcher remote reference
        """

        # internal state of subscriptions, useful for re-establish connection to dispatcher
        self.__subscriptions = []
        self.name = name or str(uuid4())
        
        self.dispatcher_url = dispatcher_url
        self.host = host or 'localhost'
        self.port = port or 0
        
        self.dispatcher = None

        self.config = config.Configurator()
        self.builder = self.builderClass()
        
        self.connector = None
        
        self.cold_start = False # if true .start() was called
Test the zone events.
dataset/ETHPy150Open selfsk/nodeset.core/src/nodeset/core/node.py/_Node.__init__--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/tests/components/binary_sensor/test_nx584.py/TestNX584Watcher.test_run_with_zone_events