#include <malware_classification.h>
Main class for the Malware classification.
- See also
- MalwareDbClassifier
Definition at line 53 of file malware_classification.h.
◆ create()
Creates the Malware classification module by using the given DcaInstance and License.
This is the package creation function.
Before using any other functions of the Malware classification package, a MalwareClassification instance must be created by sumitting a valid DcaInstance and License.
- Parameters
-
[in] | aDcaInstance | A previously initialized DcaInstance object |
[in] | aLicense | An initialized License object |
- Returns
- An initialized MalwareClassification instance.
- Exceptions
-
ExDca | One of the following error codes (available by using ExDca::getReturnCode() in your catch-handler)
|
◆ createDbClassifier()
Create a Malware database classifier. The classifier is created by using the provided database connection. The DbClassifier is automatically connected to the database via the DbConnection after successful initialization.
- Parameters
-
[in] | aDbConnection | The database connection to be used for classification |
[in] | options | The Options that define whether or not WebLearn should be enabled. This paramter is optional. |
- Returns
- A MalwareDbClassifier that is associated with the specified db connection, using the specified options (if any).
- Exceptions
-
ExDca | One of the following error codes (available by using ExDca::getReturnCode() in your catch-handler)
|
◆ setLogLevel()
Sets the logging level for the given class instance. The old value will be returned.
Usually the logging level is set to LOG_Notice.
- Parameters
-
[in] | newLevel | The new LogLevel the class instance should use for logging |
- Returns
- The old used logging level.
The documentation for this class was generated from the following file: