public class PresenceStore extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
PresenceStore.Presence |
static class |
PresenceStore.PresenceDeliveryLogic
Possible presence delivery strategies - either prefering last send presence or the presence with the highest
priority
|
| Constructor and Description |
|---|
PresenceStore() |
PresenceStore(PresenceStore.PresenceDeliveryLogic pdl) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
Collection<tigase.xmpp.jid.JID> |
getAllKnownJIDs() |
tigase.xml.Element |
getBestPresence(tigase.xmpp.jid.BareJID jid) |
PresenceStore.Presence |
getBestPresenceInt(tigase.xmpp.jid.BareJID jid) |
tigase.xml.Element |
getPresence(tigase.xmpp.jid.JID jid) |
boolean |
isAvailable(tigase.xmpp.jid.BareJID jid) |
void |
remove(tigase.xmpp.jid.JID from) |
void |
setOrdening(PresenceStore.PresenceDeliveryLogic pdl) |
void |
update(tigase.xml.Element presence) |
protected static final Logger log
public PresenceStore()
public PresenceStore(PresenceStore.PresenceDeliveryLogic pdl)
public void clear()
public Collection<tigase.xmpp.jid.JID> getAllKnownJIDs()
public tigase.xml.Element getBestPresence(tigase.xmpp.jid.BareJID jid)
public PresenceStore.Presence getBestPresenceInt(tigase.xmpp.jid.BareJID jid)
public tigase.xml.Element getPresence(tigase.xmpp.jid.JID jid)
public boolean isAvailable(tigase.xmpp.jid.BareJID jid)
public void remove(tigase.xmpp.jid.JID from)
throws tigase.util.stringprep.TigaseStringprepException
tigase.util.stringprep.TigaseStringprepExceptionpublic void setOrdening(PresenceStore.PresenceDeliveryLogic pdl)
public void update(tigase.xml.Element presence)
throws tigase.util.stringprep.TigaseStringprepException
tigase.util.stringprep.TigaseStringprepExceptionCopyright © 2007–2021 "Tigase, Inc.". All rights reserved.