Package tigase.mix.model
Class RoomGhostbuster
- java.lang.Object
-
- tigase.util.common.TimerTask
-
- tigase.component.ScheduledTask
-
- tigase.mix.model.RoomGhostbuster
-
- All Implemented Interfaces:
java.lang.Runnable,tigase.kernel.beans.config.ConfigurationChangedAware,tigase.kernel.beans.Initializable,tigase.kernel.beans.UnregisterAware
@Bean(name="roomGhostbuster", parent=RoomPresenceModule.class, active=true) public class RoomGhostbuster extends tigase.component.ScheduledTask
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRoomGhostbuster.GhostbusterFilterclassRoomGhostbuster.KickoutEventprotected classRoomGhostbuster.MonitoredObject
-
Constructor Summary
Constructors Constructor Description RoomGhostbuster()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected tigase.server.PacketcreatePing(tigase.xmpp.jid.BareJID sourceJID, tigase.xmpp.jid.JID destinationJID)protected voidonPingReceived(tigase.server.Packet packet)protected voidonPingTimeout(tigase.xmpp.jid.JID stanzaTo)protected voidpingMonitoredObject(RoomGhostbuster.MonitoredObject monitoredObject)voidregister(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID occupantJID)voidrun()voidunregister(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID occupantJID)-
Methods inherited from class tigase.component.ScheduledTask
beanConfigurationChanged, beforeUnregister, initialize
-
-
-
-
Method Detail
-
register
public void register(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID occupantJID)
-
unregister
public void unregister(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID occupantJID)
-
run
public void run()
-
pingMonitoredObject
protected void pingMonitoredObject(RoomGhostbuster.MonitoredObject monitoredObject)
-
createPing
protected tigase.server.Packet createPing(tigase.xmpp.jid.BareJID sourceJID, tigase.xmpp.jid.JID destinationJID) throws tigase.util.stringprep.TigaseStringprepException- Throws:
tigase.util.stringprep.TigaseStringprepException
-
onPingReceived
protected void onPingReceived(tigase.server.Packet packet) throws tigase.util.stringprep.TigaseStringprepException- Throws:
tigase.util.stringprep.TigaseStringprepException
-
onPingTimeout
protected void onPingTimeout(tigase.xmpp.jid.JID stanzaTo) throws tigase.util.stringprep.TigaseStringprepException- Throws:
tigase.util.stringprep.TigaseStringprepException
-
-