|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--uwcse.location.Subscription
|
+--uwcse.location.TypeSubscription
A subscription to to receive interrupt driven information about object(s) location(s) for all objects of a given type.
| Field Summary | |
protected String |
m_typeName
|
| Fields inherited from class uwcse.location.Subscription |
m_expiration, m_id, m_subscriberAddress, m_subscriberId |
| Constructor Summary | |
TypeSubscription()
Create a new type subscription for java.lang.Object that expires immediately. |
|
TypeSubscription(String typeName,
ServiceID serviceID,
Date expiration)
Create a new type subscription for the given type with the given unique id and expiration date. |
|
TypeSubscription(TypeSubscription ts)
Create a new type subscription as a copy of the given one. |
|
| Method Summary | |
boolean |
equals(Object@TypeSubscription ts)
Test this subscription for semantic equality with another subscription. |
String |
getSubscribedType()
Get the type of the object this subscription is for. |
int |
hashCode()
|
String |
toString()
Get a string representation of this subscription. |
| Methods inherited from class uwcse.location.Subscription |
equals, getExpiration, getGUID, getSubscriberServiceID |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected String m_typeName
| Constructor Detail |
public TypeSubscription()
public TypeSubscription(String typeName,
ServiceID serviceID,
Date expiration)
public TypeSubscription(TypeSubscription ts)
| Method Detail |
public boolean equals(Object@TypeSubscription ts)
equals in class Subscriptionpublic int hashCode()
hashCode in class Subscriptionpublic String getSubscribedType()
public String toString()
toString in class Subscription
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||