public class Disposer extends ThreadCore
This class extends ThreadCore to provide periodic cleanup of expired UPnP devices and subscriptions in a control point. It runs in the background to maintain an accurate view of available devices and active subscriptions.
Key features:
This class is used by UPnP control points to automatically remove devices that have become unavailable and clean up expired subscriptions, ensuring efficient resource management and accurate device tracking.
| Constructor and Description |
|---|
Disposer(ControlPoint ctrlp) |
| Modifier and Type | Method and Description |
|---|---|
ControlPoint |
getControlPoint() |
void |
run()
The main execution method of the thread.
|
void |
setControlPoint(ControlPoint ctrlp) |
getThreadObject, isRunnable, restart, setThreadObject, start, stoppublic Disposer(ControlPoint ctrlp)
public ControlPoint getControlPoint()
public void run()
ThreadCorerun in interface Runnablerun in class ThreadCorepublic void setControlPoint(ControlPoint ctrlp)