public class CapabilitiesDBCache extends Object implements CapabilitiesCache
| Constructor and Description |
|---|
CapabilitiesDBCache(android.database.sqlite.SQLiteOpenHelper helper) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getFeatures(String node) |
DiscoveryModule.Identity |
getIdentity(String node) |
Set<String> |
getNodesWithFeature(String feature) |
boolean |
isCached(String node) |
void |
store(String node,
String name,
String category,
String type,
Collection<String> features) |
public CapabilitiesDBCache(android.database.sqlite.SQLiteOpenHelper helper)
public Set<String> getFeatures(String node)
getFeatures in interface CapabilitiesCachepublic DiscoveryModule.Identity getIdentity(String node)
getIdentity in interface CapabilitiesCachepublic Set<String> getNodesWithFeature(String feature)
getNodesWithFeature in interface CapabilitiesCachepublic boolean isCached(String node)
isCached in interface CapabilitiesCachepublic void store(String node, String name, String category, String type, Collection<String> features)
store in interface CapabilitiesCacheCopyright © 2006–2016 Tigase. All rights reserved.