Searched refs:Presence (Results 1 – 25 of 25) sorted by relevance
28 import org.jivesoftware.smack.packet.Presence;64 private Map<String, Map<String, Presence>> presenceMap;118 presenceMap = new ConcurrentHashMap<String, Map<String, Presence>>(); in Roster()123 PacketFilter presenceFilter = new PacketTypeFilter(Presence.class); in Roster()307 Presence presencePacket = new Presence(Presence.Type.subscribe); in createEntry()607 public Presence getPresence(String user) { in getPresence()609 Map<String, Presence> userPresences = presenceMap.get(key); in getPresence()611 Presence presence = new Presence(Presence.Type.unavailable); in getPresence()618 Presence presence = null; in getPresence()621 Presence p = userPresences.get(resource); in getPresence()[all …]
38 import org.jivesoftware.smack.packet.Presence;352 sendPacket(new Presence(Presence.Type.available)); in login()401 sendPacket(new Presence(Presence.Type.available)); in loginAnonymously()445 public void disconnect(Presence unavailablePresence) { in disconnect()487 protected void shutdown(Presence unavailablePresence) { in shutdown()668 shutdown(new Presence(Presence.Type.unavailable)); in notifyConnectionError()
23 import org.jivesoftware.smack.packet.Presence;82 public void presenceChanged(Presence presence); in presenceChanged()
26 import org.jivesoftware.smack.packet.Presence;269 packetWriter.sendPacket(new Presence(Presence.Type.available)); in login()314 packetWriter.sendPacket(new Presence(Presence.Type.available)); in loginAnonymously()404 protected void shutdown(Presence unavailablePresence) { in shutdown()474 public synchronized void disconnect(Presence unavailablePresence) { in disconnect()1083 shutdown(new Presence(Presence.Type.unavailable)); in notifyConnectionError()
44 import org.jivesoftware.smack.packet.Presence;490 disconnect(new Presence(Presence.Type.unavailable)); in disconnect()509 public abstract void disconnect(Presence unavailablePresence); in disconnect()
44 import org.jivesoftware.smack.packet.Presence;490 disconnect(new Presence(Presence.Type.unavailable));509 public abstract void disconnect(Presence unavailablePresence);
29 import org.jivesoftware.smack.packet.Presence;57 private Map<String, Map<String, Presence>> presenceMap;72 presenceMap = new HashMap<String, Map<String, Presence>>(); in AgentRoster()78 new PacketTypeFilter(Presence.class)); in AgentRoster()116 Map<String,Presence> userPresences = presenceMap.get(jid); in addListener()118 Iterator<Presence> presences = userPresences.values().iterator(); in addListener()198 public Presence getPresence(String user) { in getPresence()200 Map<String, Presence> userPresences = presenceMap.get(key); in getPresence()202 Presence presence = new Presence(Presence.Type.unavailable); in getPresence()210 Presence p; in getPresence()[all …]
62 private Presence.Mode presenceMode;112 filter.addFilter(new PacketTypeFilter(Presence.class)); in AgentSession()171 public Presence.Mode getPresenceMode() { in getPresenceMode()255 Presence presence; in setOnline()259 presence = new Presence(Presence.Type.available); in setOnline()264 …his.connection.createPacketCollector(new AndFilter(new PacketTypeFilter(Presence.class), new FromC… in setOnline()268 presence = (Presence)collector.nextResult(5000); in setOnline()286 presence = new Presence(Presence.Type.unavailable); in setOnline()317 public void setStatus(Presence.Mode presenceMode, int maxChats) throws XMPPException { in setStatus()343 public void setStatus(Presence.Mode presenceMode, int maxChats, String status) in setStatus()[all …]
22 import org.jivesoftware.smack.packet.Presence;34 public void presenceChanged(Presence presence); in presenceChanged()
19 import org.jivesoftware.smack.packet.Presence;231 new PacketTypeFilter(Presence.class)); in register()288 Presence presence = new Presence(Presence.Type.available); in login()297 public void login(Presence presence){ in login()298 presence.setType(Presence.Type.available); in login()309 Presence presence = new Presence(Presence.Type.unavailable); in logout()318 if(packet instanceof Presence){ in processPacket()319 Presence presence = (Presence)packet; in processPacket()322 presence.getType().equals(Presence.Type.subscribe)){ in processPacket()323 Presence response = new Presence(Presence.Type.subscribed); in processPacket()
31 import org.jivesoftware.smack.packet.Presence;109 Presence presence = (Presence) packet; in LastActivityManager()110 Presence.Mode mode = presence.getMode(); in LastActivityManager()120 }, new PacketTypeFilter(Presence.class)); in LastActivityManager()
26 import org.jivesoftware.smack.packet.Presence;48 Presence presence = (Presence) packet; in interceptPacket()50 if (Presence.Type.available == presence.getType() && in interceptPacket()
56 import org.jivesoftware.smack.packet.Presence;91 private Map<String, Presence> occupantsMap = new ConcurrentHashMap<String, Presence>();335 Presence joinPresence = new Presence(Presence.Type.available); in create()348 new PacketTypeFilter(Presence.class)); in create()353 Presence presence = in create()354 (Presence) response.nextResult(SmackConfiguration.getPacketReplyTimeout()); in create()465 Presence joinPresence = new Presence(Presence.Type.available); in join()486 new PacketTypeFilter(Presence.class)); in join()488 Presence presence; in join()494 presence = (Presence) response.nextResult(timeout); in join()[all …]
25 import org.jivesoftware.smack.packet.Presence;50 Occupant(Presence presence) { in Occupant()
30 import org.jivesoftware.smack.packet.Presence;42 private static final PacketFilter PRESENCE_FILTER = new PacketTypeFilter(Presence.class);
20 enum Presence { enum29 QuicNegotiableValue(QuicTag tag, Presence presence);37 const Presence presence_;44 QuicNegotiableUint32(QuicTag name, Presence presence);89 QuicNegotiableTag(QuicTag name, Presence presence);
16 QuicNegotiableValue::QuicNegotiableValue(QuicTag tag, Presence presence) in QuicNegotiableValue()22 QuicNegotiableUint32::QuicNegotiableUint32(QuicTag tag, Presence presence) in QuicNegotiableUint32()113 QuicNegotiableTag::QuicNegotiableTag(QuicTag tag, Presence presence) in QuicNegotiableTag()
59 public class Presence extends Packet { class72 public Presence(Type type) { in Presence() method in Presence84 public Presence(Type type, String status, int priority, Mode mode) { in Presence() method in Presence
31 import org.jivesoftware.smack.packet.Presence;265 …PacketFilter packetFilter = new AndFilter(new PacketTypeFilter(Presence.class), new PacketExtensio… in init()291 …packetFilter = new AndFilter(new PacketTypeFilter(Presence.class), new NotFilter(new PacketExtensi… in init()303 packetFilter = new PacketTypeFilter(Presence.class); in init()314 PacketFilter capsPacketFilter = new PacketTypeFilter(Presence.class); in init()492 Presence presence = new Presence(Presence.Type.available); in updateLocalEntityCaps()
158 Presence directedPresence = new Presence(Presence.Type.available); in isAvailable()160 PacketFilter typeFilter = new PacketTypeFilter(Presence.class); in isAvailable()167 … Presence response = (Presence)collector.nextResult(SmackConfiguration.getPacketReplyTimeout()); in isAvailable()178 return Presence.Type.available == response.getType(); in isAvailable()
40 import org.jivesoftware.smack.packet.Presence;189 public static Presence parsePresence(XmlPullParser parser) throws Exception { in parsePresence()190 Presence.Type type = Presence.Type.available; in parsePresence()194 type = Presence.Type.valueOf(typeString); in parsePresence()200 Presence presence = new Presence(type); in parsePresence()238 presence.setMode(Presence.Mode.valueOf(modeText)); in parsePresence()
41 import org.jivesoftware.smack.packet.Presence;187 * @return a Presence packet.190 public static Presence parsePresence(XmlPullParser parser) throws Exception {191 Presence.Type type = Presence.Type.available;195 type = Presence.Type.valueOf(typeString);201 Presence presence = new Presence(type);232 // Presence priority is out of range so assume priority to be zero239 presence.setMode(Presence.Mode.valueOf(modeText));263 System.err.println("Failed to parse extension packet in Presence packet.");
648 +# rfc3920 : XMPP (Extensible Messaging and Presence Protocol)
416 Send a P2P Presence Request to the GO (this is only available when
1609 * strace.c [!USE_PROCFS] (trace): Presence of PT_GETSIGINFO