public class Subscriber extends Object
This class encapsulates information about a control point that has subscribed to receive event notifications from a UPnP service. It manages the subscription lifecycle including timeout, renewal, and delivery URL information.
Key features:
This class is used by UPnP services to maintain information about each subscriber, enabling targeted delivery of event notifications and management of subscription lifecycles including automatic cleanup of expired subscriptions.
| Constructor and Description |
|---|
Subscriber() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDeliveryHost() |
String |
getDeliveryPath() |
int |
getDeliveryPort() |
String |
getDeliveryURL() |
String |
getInterfaceAddress() |
long |
getNotifyCount() |
String |
getSID() |
long |
getSubscriptionTime() |
long |
getTimeOut() |
void |
incrementNotifyCount() |
boolean |
isExpired() |
void |
renew() |
void |
setDeliveryURL(String deliveryURL) |
void |
setInterfaceAddress(String addr) |
void |
setNotifyCount(int cnt) |
void |
setSID(String sid) |
void |
setSubscriptionTime(long time) |
void |
setTimeOut(long value) |
public String getDeliveryHost()
public String getDeliveryPath()
public int getDeliveryPort()
public String getDeliveryURL()
public String getInterfaceAddress()
public long getNotifyCount()
public String getSID()
public long getSubscriptionTime()
public long getTimeOut()
public void incrementNotifyCount()
public boolean isExpired()
public void renew()
public void setDeliveryURL(String deliveryURL)
public void setInterfaceAddress(String addr)
public void setNotifyCount(int cnt)
public void setSID(String sid)
public void setSubscriptionTime(long time)
public void setTimeOut(long value)