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