public class RenewSubscriber extends ThreadCore
| Modifier and Type | Field and Description |
|---|---|
static long |
INTERVAL
Default renewal interval in seconds (120 seconds = 2 minutes)
|
| Constructor and Description |
|---|
RenewSubscriber(ControlPoint ctrlp)
Constructs a RenewSubscriber for the specified control point.
|
| Modifier and Type | Method and Description |
|---|---|
ControlPoint |
getControlPoint()
Gets the control point for this subscriber.
|
void |
run()
Main thread loop that periodically renews subscriptions.
|
void |
setControlPoint(ControlPoint ctrlp)
Sets the control point for this subscriber.
|
getThreadObject, isRunnable, restart, setThreadObject, start, stoppublic static final long INTERVAL
public RenewSubscriber(ControlPoint ctrlp)
ctrlp - the control point whose subscriptions should be renewedpublic ControlPoint getControlPoint()
public void run()
run in interface Runnablerun in class ThreadCorepublic void setControlPoint(ControlPoint ctrlp)
ctrlp - the control point to set