@Bean(name="presence-subscribe-outgoing",
parent=SpamProcessor.class,
active=false)
public class PresenceSubscribeOutgoingFilter
extends AbstractSpamFilter
| Modifier and Type | Class and Description |
|---|---|
static class |
PresenceSubscribeOutgoingFilter.Counter |
| Constructor and Description |
|---|
PresenceSubscribeOutgoingFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
filterPacket(tigase.server.Packet packet,
tigase.xmpp.XMPPResourceConnection session) |
String |
getId() |
double |
getSpamProbability() |
filter, getStatisticsprotected static final String ID
public String getId()
public double getSpamProbability()
protected boolean filterPacket(tigase.server.Packet packet,
tigase.xmpp.XMPPResourceConnection session)
filterPacket in class AbstractSpamFilterCopyright © 2017–2019 Tigase. All rights reserved.