protected void pauseScan ( Context context ) { log . debug ( "Access Control pause on Context: " + context ) ; threadManager . getScannerThread ( context . getIndex ( ) ) . pauseScan ( ) ; }
Method called when the pause button is pressed . Base implementation forward the calls to the Scanner Thread that corresponds to the provided Context and obtained via the Thread Manager specified in the constructor .