Package tigase.muc
Class Ghostbuster2
- java.lang.Object
-
- tigase.muc.Ghostbuster2
-
public class Ghostbuster2 extends Object
- Author:
- bmalkow
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classGhostbuster2.MonitoredObject
-
Field Summary
Fields Modifier and Type Field Description protected Loggerlogprotected Map<tigase.xmpp.JID,Ghostbuster2.MonitoredObject>monitoredObjectsstatic Set<String>R
-
Constructor Summary
Constructors Constructor Description Ghostbuster2(MUCComponent mucComponent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(tigase.xmpp.JID occupantJid, Room room)PresenceModulegetPresenceModule()protected voidonPingReceived(tigase.server.Packet packet)protected voidonPingTimeout(tigase.xmpp.JID stanzaTo)voidping()voidremove(Collection<tigase.xmpp.JID> occupantJids, Room room)voidremove(tigase.xmpp.JID occupantJid, Room room)voidsetPresenceModule(PresenceModule presenceModule)voidupdate(tigase.server.Packet packet)
-
-
-
Field Detail
-
log
protected Logger log
-
monitoredObjects
protected final Map<tigase.xmpp.JID,Ghostbuster2.MonitoredObject> monitoredObjects
-
-
Constructor Detail
-
Ghostbuster2
public Ghostbuster2(MUCComponent mucComponent)
-
-
Method Detail
-
add
public void add(tigase.xmpp.JID occupantJid, Room room)
-
getPresenceModule
public PresenceModule getPresenceModule()
-
onPingReceived
protected void onPingReceived(tigase.server.Packet packet) throws tigase.util.TigaseStringprepException- Parameters:
response-- Throws:
tigase.util.TigaseStringprepException
-
onPingTimeout
protected void onPingTimeout(tigase.xmpp.JID stanzaTo) throws tigase.util.TigaseStringprepException- Parameters:
stanzaTo-- Throws:
tigase.util.TigaseStringprepException
-
ping
public void ping() throws tigase.util.TigaseStringprepException- Throws:
tigase.util.TigaseStringprepException
-
remove
public void remove(Collection<tigase.xmpp.JID> occupantJids, Room room)
- Parameters:
occupantJids-room-
-
remove
public void remove(tigase.xmpp.JID occupantJid, Room room)
-
setPresenceModule
public void setPresenceModule(PresenceModule presenceModule)
-
update
public void update(tigase.server.Packet packet) throws tigase.util.TigaseStringprepException- Throws:
tigase.util.TigaseStringprepException
-
-