Constructor and Description |
---|
SubscriptionStore() |
Modifier and Type | Method and Description |
---|---|
void |
addSubscription(String eventPackage,
String eventName,
Subscription subscription) |
Collection<Subscription> |
getAllData() |
Set<EventName> |
getSubscribedEvents() |
Collection<Subscription> |
getSubscribersJIDs(String eventPackage,
String eventName) |
boolean |
hasSubscriber(String eventPackage,
String eventName) |
void |
remove(Subscription jid) |
void |
removeSubscription(String eventPackage,
String eventName,
Subscription jidInstanceNS) |
protected final Logger log
public void addSubscription(String eventPackage, String eventName, Subscription subscription)
public Collection<Subscription> getAllData()
public Collection<Subscription> getSubscribersJIDs(String eventPackage, String eventName)
public void remove(Subscription jid)
public void removeSubscription(String eventPackage, String eventName, Subscription jidInstanceNS)
Copyright © 2004–2021 "Tigase, Inc.". All rights reserved.