| |
|
| java.lang.Object gov.nist.siplite.stack.SubscriptionList
SubscriptionList | public class SubscriptionList (Code) | | Class representing a list of subscription.
|
SubscriptionList | public SubscriptionList()(Code) | | Default constructor.
|
addSubscription | public void addSubscription(Subscription s)(Code) | | Adds a new subscription to the list.
Parameters: s - a subscription to add |
getMatchingSubscription | public Subscription getMatchingSubscription(Message message)(Code) | | Finds a subscription matching the given response or NOTIFY.
Parameters: message - response or NOTIFY message a subscription matching to the given response or NOTIFYor null if the subscription was not found |
isEmpty | public boolean isEmpty()(Code) | | Checks if the subscription list is empty.
true if the subscription list is empty, false otherwise |
removeSubscription | public void removeSubscription(Subscription s)(Code) | | Removes the given subscription from the list.
Parameters: s - a subscription to remove |
|
|
|