Package tigase.mix.model
Class RoomGhostbuster
java.lang.Object
tigase.util.common.TimerTask
tigase.component.ScheduledTask
tigase.mix.model.RoomGhostbuster
- All Implemented Interfaces:
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 ClassesModifier and TypeClassDescriptionstatic interfacestatic classprotected class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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, initializeMethods inherited from class tigase.util.common.TimerTask
cancel, cancel, isCancelled, isScheduled, reset, setScheduledFuture
-
Constructor Details
-
RoomGhostbuster
public RoomGhostbuster()
-
-
Method Details
-
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
-
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
-