notifly/server.py
def run(self):
        """
        process entry method
        daemonize async event loop
        """
        loop = asyncio.new_event_loop()
        asyncio.set_event_loop(loop)
        endpoint = loop.create_datagram_endpoint(
            AsyncUDP,
            local_addr=(
                CONF['local_ip'], 
                CONF['local_port']
            )
        )
        server = loop.run_until_complete(endpoint)
        try:
            loop.run_forever()
        except KeyboardInterrupt:
            pass
        server.close()
        loop.run_until_complete(server.wait_closed())
        loop.close()

        process entry method
        daemonize async event loop
        
process entry method
daemonize async event loop
process entry method daemonize async event loop
def run(self):
        loop = asyncio.new_event_loop()
        asyncio.set_event_loop(loop)
        endpoint = loop.create_datagram_endpoint(
            AsyncUDP,
            local_addr=(
                CONF['local_ip'], 
                CONF['local_port']
            )
        )
        server = loop.run_until_complete(endpoint)
        try:
            loop.run_forever()
        except KeyboardInterrupt:
            pass
        server.close()
        loop.run_until_complete(server.wait_closed())
        loop.close()
def run ( self ) : loop = asyncio . new_event_loop ( ) asyncio . set_event_loop ( loop ) endpoint = loop . create_datagram_endpoint ( AsyncUDP , local_addr = ( CONF [ 'local_ip' ] , CONF [ 'local_port' ] ) ) server = loop . run_until_complete ( endpoint ) try : loop . run_forever ( ) except KeyboardInterrupt : pass server . close ( ) loop . run_until_complete ( server . wait_closed ( ) ) loop . close ( )
process entry method
daemonize async event loop
process entry method daemonize async event loop
"""
        process entry method
        daemonize async event loop
        """
self