Package nl.goodbytes.xmpp.xep0363.clamav
Class ClamavMalwareScanner
- java.lang.Object
-
- nl.goodbytes.xmpp.xep0363.clamav.ClamavMalwareScanner
-
- All Implemented Interfaces:
MalwareScanner
public class ClamavMalwareScanner extends Object implements MalwareScanner
-
-
Constructor Summary
Constructors Constructor Description ClamavMalwareScanner(String hostname, int port, java.time.Duration connectTimeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()voidinitialize()voidscan(SecureUniqueId uuid)
-
-
-
Constructor Detail
-
ClamavMalwareScanner
public ClamavMalwareScanner(String hostname, int port, java.time.Duration connectTimeout)
-
-
Method Detail
-
initialize
public void initialize() throws IOException- Specified by:
initializein interfaceMalwareScanner- Throws:
IOException
-
destroy
public void destroy()
- Specified by:
destroyin interfaceMalwareScanner
-
scan
public void scan(SecureUniqueId uuid) throws MalwareDetectedException, IOException
- Specified by:
scanin interfaceMalwareScanner- Throws:
MalwareDetectedExceptionIOException
-
-