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
-
Field Summary
Modifier and TypeFieldDescriptionprotected Logger
protected final Map<tigase.xmpp.jid.JID,
Ghostbuster2.MonitoredObject> Fields inherited from class tigase.component.ScheduledTask
component
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
kickJIDFromRooms
(tigase.xmpp.jid.JID jid, Collection<tigase.xmpp.jid.BareJID> rooms) protected void
onPingReceived
(tigase.server.Packet packet) protected void
onPingTimeout
(tigase.xmpp.jid.JID stanzaTo) void
ping()
void
remove
(Collection<tigase.xmpp.jid.JID> occupantJids, Room room) void
void
run()
void
setPresenceModule
(PresenceModule presenceModule) void
update
(tigase.server.Packet packet) Methods inherited from class tigase.component.ScheduledTask
beanConfigurationChanged, beforeUnregister, initialize
Methods 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
-