|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.wsinfra.wse.matching.SubscriptionEntry
public class SubscriptionEntry
This class represents the entry corresponding to subscriptions, within the SubscriptionManagement.
| Constructor Summary | |
|---|---|
protected |
SubscriptionEntry(String identifier,
FilterType filter,
Calendar expiresAt,
EndpointReferenceType source,
EndpointReferenceType sink,
EndpointReferenceType endTo,
EndpointReferenceType subscriptionManager)
|
| Method Summary | |
|---|---|
EndpointReferenceType |
getEndTo()
Gets the Sink's registered endTo for this subscription |
Calendar |
getExpiresAt()
Gets the expiry associated with this entry |
FilterType |
getFilter()
Gets the Filter associated with this subscription Entry |
String |
getIdentifier()
Gets the subscription identifier |
EndpointReferenceType |
getSink()
Gets the Sinks which registered this subscription |
EndpointReferenceType |
getSource()
Gets the source at which this subscription was registered |
EndpointReferenceType |
getSubscriptionManager()
Gets the subscription manager for this subscription |
boolean |
hasEndTo()
Checks to see if the EndTo has been specified, so that we can send SubscriptionEnd's if the need arises. |
protected boolean |
isExpired(Calendar currentTime)
Check to see if this subscription has expired. |
protected void |
updateExpiresAt(Calendar expiresAt)
Update the expiry field for this subscription entry |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SubscriptionEntry(String identifier,
FilterType filter,
Calendar expiresAt,
EndpointReferenceType source,
EndpointReferenceType sink,
EndpointReferenceType endTo,
EndpointReferenceType subscriptionManager)
| Method Detail |
|---|
public String getIdentifier()
public FilterType getFilter()
public Calendar getExpiresAt()
protected void updateExpiresAt(Calendar expiresAt)
protected boolean isExpired(Calendar currentTime)
public EndpointReferenceType getSource()
public EndpointReferenceType getSink()
public EndpointReferenceType getEndTo()
public boolean hasEndTo()
public EndpointReferenceType getSubscriptionManager()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||