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
Modifier and TypeClassDescriptionstatic interface
class
protected class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected tigase.server.Packet
createPing
(tigase.xmpp.jid.BareJID sourceJID, tigase.xmpp.jid.JID destinationJID) protected void
onPingReceived
(tigase.server.Packet packet) protected void
onPingTimeout
(tigase.xmpp.jid.JID stanzaTo) protected void
pingMonitoredObject
(RoomGhostbuster.MonitoredObject monitoredObject) void
register
(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID occupantJID) void
run()
void
unregister
(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID occupantJID) Methods inherited from class tigase.component.ScheduledTask
beanConfigurationChanged, beforeUnregister, initialize
Methods 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
-