public abstract class LDPDataHandler
extends java.lang.Object
Constructor and Description |
---|
LDPDataHandler()
Creates a new data handler.
|
Modifier and Type | Method and Description |
---|---|
void |
init(java.lang.String resource,
CoAPLDPResourceManager mng)
Initializes the data handler.
|
void |
setSamplingPeriod(int ms)
Set the sampling period
|
void |
start()
Starts to retrieve data and update the repository
|
void |
stop()
Stops to retrieve data and update the repository
|
public void init(java.lang.String resource, CoAPLDPResourceManager mng)
resource
- the name of the reference resource in the RDF repositorymng
- the reference resource managerCoAPLDPResourceManager
public void start()
public void stop()
public void setSamplingPeriod(int ms)
ms
- the samping period in ms