@Bean(name="DepartQueueModule", active=true) public class DepartQueueModule extends AbstractModule
Modifier and Type | Field and Description |
---|---|
static String |
ID |
writer, XMLNS
EMPTY_FEATURES
Constructor and Description |
---|
DepartQueueModule() |
Modifier and Type | Method and Description |
---|---|
void |
depart(User user) |
String[] |
getFeatures()
Returns XMPP features offered by module.
|
Criteria |
getModuleCriteria()
Returns critera used by Component to select module to handle incoming stanza.
|
protected boolean |
isAdmin(WorkgroupQueueEntity workgroupQueueEntity,
JID jid) |
void |
process(Packet packet)
Process incoming stanza.
|
write, write
public static final String ID
public void depart(User user) throws TigaseStringprepException
TigaseStringprepException
public String[] getFeatures()
Module
null
.public Criteria getModuleCriteria()
Module
public void process(Packet packet) throws ComponentException, TigaseStringprepException
Module
packet
- received stanza
.ComponentException
- if stanza can't be processed correctly. ComponentException is converted to error
stanza and returned to stanza sender.TigaseStringprepException
- if there was an error during stringprep processing.protected boolean isAdmin(WorkgroupQueueEntity workgroupQueueEntity, JID jid)
Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.