|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uwcse.location.Subscription
A subscription to to receive periodic information about object(s) location(s).
| Field Summary | |
protected Date |
m_expiration
|
protected GUID |
m_id
|
protected String |
m_subscriberAddress
|
protected String |
m_subscriberId
|
| Constructor Summary | |
Subscription()
Create a new subscription that expires immediately. |
|
Subscription(ServiceID serviceID,
Date expiration)
Create a new subscription with the given unique id and expiration date. |
|
Subscription(Subscription s)
Create a new subscription as a copy of the given one. |
|
| Method Summary | |
boolean |
equals(Object@Subscription s)
Test this subscription for equality with another subscription meaning they have the same GUID value and expiration time. |
Date |
getExpiration()
Read the expiration date of this subscription. |
GUID |
getGUID()
Get a copy of the unique id of this subscription. |
ServiceID |
getSubscriberServiceID()
Get a copy of the service id of the subscriber |
int |
hashCode()
|
String |
toString()
Get a string representation of this subscription. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected GUID m_id
protected String m_subscriberId
protected String m_subscriberAddress
protected Date m_expiration
| Constructor Detail |
public Subscription()
public Subscription(ServiceID serviceID,
Date expiration)
public Subscription(Subscription s)
| Method Detail |
public boolean equals(Object@Subscription s)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic ServiceID getSubscriberServiceID()
public GUID getGUID()
public Date getExpiration()
public String toString()
toString in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||