public void stop ( ) { synchronized ( LOCK ) { if ( this . active ) { this . active = false ; logger . info ( "Stopping UDP Manager" ) ; stopTasks ( ) ; closeSelectors ( ) ; cleanResources ( ) ; logger . info ( "UDP Manager has stopped" ) ; } } }
Stops polling the network .