@Bean(name="ghostbuster",
parent=MUCComponent.class,
active=true)
public class Ghostbuster2
extends tigase.component.ScheduledTask
| Modifier and Type | Class and Description |
|---|---|
protected class |
Ghostbuster2.MonitoredObject |
| Modifier and Type | Field and Description |
|---|---|
protected Logger |
log |
protected Map<tigase.xmpp.JID,Ghostbuster2.MonitoredObject> |
monitoredObjects |
static Set<String> |
R |
| Constructor and Description |
|---|
Ghostbuster2() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(tigase.xmpp.JID occupantJid,
Room room) |
PresenceModule |
getPresenceModule() |
protected void |
onPingReceived(tigase.server.Packet packet) |
protected void |
onPingTimeout(tigase.xmpp.JID stanzaTo) |
void |
ping() |
void |
remove(Collection<tigase.xmpp.JID> occupantJids,
Room room) |
void |
remove(tigase.xmpp.JID occupantJid,
Room room) |
void |
run() |
void |
setPresenceModule(PresenceModule presenceModule) |
void |
update(tigase.server.Packet packet) |
protected Logger log
protected final Map<tigase.xmpp.JID,Ghostbuster2.MonitoredObject> monitoredObjects
public void add(tigase.xmpp.JID occupantJid,
Room room)
public PresenceModule getPresenceModule()
protected void onPingReceived(tigase.server.Packet packet)
throws tigase.util.TigaseStringprepException
packet - tigase.util.TigaseStringprepExceptionprotected void onPingTimeout(tigase.xmpp.JID stanzaTo)
throws tigase.util.TigaseStringprepException
stanzaTo - tigase.util.TigaseStringprepExceptionpublic void ping()
throws tigase.util.TigaseStringprepException
tigase.util.TigaseStringprepExceptionpublic void remove(Collection<tigase.xmpp.JID> occupantJids, Room room)
occupantJids - room - public void remove(tigase.xmpp.JID occupantJid,
Room room)
public void run()
public void setPresenceModule(PresenceModule presenceModule)
public void update(tigase.server.Packet packet)
throws tigase.util.TigaseStringprepException
tigase.util.TigaseStringprepExceptionCopyright © 2007–2017 Tigase. All rights reserved.