Package tigase.muc
Class Ghostbuster2
java.lang.Object
tigase.util.common.TimerTask
tigase.component.ScheduledTask
tigase.muc.Ghostbuster2
- All Implemented Interfaces:
Runnable,tigase.kernel.beans.config.ConfigurationChangedAware,tigase.kernel.beans.Initializable,tigase.kernel.beans.UnregisterAware
@Bean(name="ghostbuster",
parent=MUCComponent.class,
active=true)
public class Ghostbuster2
extends tigase.component.ScheduledTask
- Author:
- bmalkow
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Loggerprotected final Map<tigase.xmpp.jid.JID,Ghostbuster2.MonitoredObject> Fields inherited from class tigase.component.ScheduledTask
component -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidkickJIDFromRooms(tigase.xmpp.jid.JID jid, Collection<tigase.xmpp.jid.BareJID> rooms) protected voidonPingReceived(tigase.server.Packet packet) protected voidonPingTimeout(tigase.xmpp.jid.JID stanzaTo) voidping()voidremove(Collection<tigase.xmpp.jid.JID> occupantJids, Room room) voidvoidrun()voidsetPresenceModule(PresenceModule presenceModule) voidupdate(tigase.server.Packet packet) Methods inherited from class tigase.component.ScheduledTask
beanConfigurationChanged, beforeUnregister, initializeMethods inherited from class tigase.util.common.TimerTask
cancel, cancel, isCancelled, isScheduled, reset, setScheduledFuture
-
Field Details
-
R
-
monitoredObjects
-
log
-
-
Constructor Details
-
Ghostbuster2
public Ghostbuster2()
-
-
Method Details
-
add
-
getPresenceModule
-
setPresenceModule
-
ping
public void ping() throws tigase.util.stringprep.TigaseStringprepException- Throws:
tigase.util.stringprep.TigaseStringprepException
-
remove
-
remove
-
run
public void run() -
update
public void update(tigase.server.Packet packet) throws tigase.util.stringprep.TigaseStringprepException - Throws:
tigase.util.stringprep.TigaseStringprepException
-
kickJIDFromRooms
public void kickJIDFromRooms(tigase.xmpp.jid.JID jid, Collection<tigase.xmpp.jid.BareJID> rooms) 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
-