@Bean(name="tigase-recent-query",
parent=UnifiedArchiveComponent.class,
active=true)
public class TigaseRecentQueryModule
extends Object
implements tigase.component.modules.Module
| Modifier and Type | Field and Description |
|---|---|
protected UnifiedArchiveRepository<tigase.db.DataSource> |
msg_repo |
protected tigase.component.PacketWriter |
packetWriter |
| Constructor and Description |
|---|
TigaseRecentQueryModule() |
| Modifier and Type | Method and Description |
|---|---|
protected tigase.xml.Element |
convertQueryItemResultToElement(UnifiedArchiveRepository.Item item) |
String[] |
getFeatures() |
tigase.criteria.Criteria |
getModuleCriteria() |
void |
process(tigase.server.Packet packet) |
@Inject protected UnifiedArchiveRepository<tigase.db.DataSource> msg_repo
@Inject protected tigase.component.PacketWriter packetWriter
public String[] getFeatures()
getFeatures in interface tigase.component.modules.Modulepublic tigase.criteria.Criteria getModuleCriteria()
getModuleCriteria in interface tigase.component.modules.Modulepublic void process(tigase.server.Packet packet)
throws tigase.component.exceptions.ComponentException,
tigase.util.stringprep.TigaseStringprepException
process in interface tigase.component.modules.Moduletigase.component.exceptions.ComponentExceptiontigase.util.stringprep.TigaseStringprepExceptionprotected tigase.xml.Element convertQueryItemResultToElement(UnifiedArchiveRepository.Item item)
Copyright © 2015–2020 "Tigase, Inc.". All rights reserved.