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 TypeMethodDescriptionbooleancompilationProgress(String moduleName, int current, int maxCount) Notifies about the current compilation progress.booleanloadingProgress(String fileName, int current, int maxCount) Notifies about the current loading (IO) progress.booleansortingProgress(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:
falseif 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:
falseif 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:
falseif the compilation should be aborted.
-