public void startListening ( ) throws FileNotFoundException , ClassNotFoundException , IOException , ResourceNotExistingException , TTException { mProcessingThread = new Thread ( ) { public void run ( ) { try { processFileNotifications ( ) ; } catch ( InterruptedException | TTException | IOException e ) { } } } ; mProcessingThread . start ( ) ; initSessions ( ) ; }
Start listening to the defined folders .