public class PcapSnifferService
extends java.lang.Object
implements org.ar4k.agent.core.interfaces.EdgeComponent
| Constructor and Description |
|---|
PcapSnifferService() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.ar4k.agent.core.interfaces.ServiceConfig |
getConfiguration() |
org.ar4k.agent.core.data.DataAddress |
getDataAddress() |
org.json.JSONObject |
getDescriptionJson() |
org.ar4k.agent.core.Homunculus |
getHomunculus() |
void |
init() |
void |
kill() |
void |
setConfiguration(org.ar4k.agent.core.interfaces.ServiceConfig configuration) |
void |
setDataAddress(org.ar4k.agent.core.data.DataAddress dataAddress) |
void |
setHomunculus(org.ar4k.agent.core.Homunculus homunculus) |
org.ar4k.agent.core.interfaces.EdgeComponent.ServiceStatus |
updateAndGetStatus() |
public void init()
init in interface org.ar4k.agent.core.interfaces.EdgeComponentpublic void setConfiguration(org.ar4k.agent.core.interfaces.ServiceConfig configuration)
setConfiguration in interface org.ar4k.agent.core.interfaces.EdgeComponentpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic org.ar4k.agent.core.interfaces.EdgeComponent.ServiceStatus updateAndGetStatus()
throws org.ar4k.agent.exception.ServiceWatchDogException
updateAndGetStatus in interface org.ar4k.agent.core.interfaces.EdgeComponentorg.ar4k.agent.exception.ServiceWatchDogExceptionpublic void kill()
kill in interface org.ar4k.agent.core.interfaces.EdgeComponentpublic org.ar4k.agent.core.Homunculus getHomunculus()
getHomunculus in interface org.ar4k.agent.core.interfaces.EdgeComponentpublic org.ar4k.agent.core.data.DataAddress getDataAddress()
getDataAddress in interface org.ar4k.agent.core.interfaces.EdgeComponentpublic void setDataAddress(org.ar4k.agent.core.data.DataAddress dataAddress)
setDataAddress in interface org.ar4k.agent.core.interfaces.EdgeComponentpublic void setHomunculus(org.ar4k.agent.core.Homunculus homunculus)
setHomunculus in interface org.ar4k.agent.core.interfaces.EdgeComponentpublic org.ar4k.agent.core.interfaces.ServiceConfig getConfiguration()
getConfiguration in interface org.ar4k.agent.core.interfaces.EdgeComponentpublic org.json.JSONObject getDescriptionJson()
getDescriptionJson in interface org.ar4k.agent.core.interfaces.EdgeComponent