Package com.snmp4j.smi
Interface CompilationMonitor
public interface CompilationMonitor
The
CompilationMonitor
interface is implemented by classes that are supposed to monitor
the progress of a multi MIB file compilation operation of the SmiManager
.- Author:
- Frank Fock
-
Method Summary
Modifier and TypeMethodDescriptionboolean
compilationProgress(String moduleName, int current, int maxCount)
Notifies about the current compilation progress.boolean
loadingProgress(String fileName, int current, int maxCount)
Notifies about the current loading (IO) progress.boolean
sortingProgress(String fileName, int current, int maxCount)
Notifies about the current sorting progress.
-
Method Details
-
loadingProgress
Notifies about the current loading (IO) progress.- Parameters:
fileName
- the name of the currently processed MIB or ZIP file.current
- the index of the current file (zero based).maxCount
- the maximum count of files to be processed.- Returns:
false
if the compilation (loading) should be aborted.
-
sortingProgress
Notifies about the current sorting progress.- Parameters:
fileName
- the name of the currently processed MIB or ZIP file.current
- the index of the current file (zero based).maxCount
- the maximum count of files to be processed.- Returns:
false
if the compilation (sorting) should be aborted.
-
compilationProgress
Notifies about the current compilation progress.- Parameters:
moduleName
- the name of the last compiled MIB module.current
- the index of the current MIB module (zero based).maxCount
- the maximum count of MIB modules to be compiled.- Returns:
false
if the compilation should be aborted.
-