Package tigase.xmpp
Interface SpamReportsConsumer
-
public interface SpamReportsConsumerClasses implementing this interface should be beans registered in `SessionManager`s kernel to receive calls when spammer is being reported by the user.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSpamReportsConsumer.ReportType
-
Field Summary
Fields Modifier and Type Field Description static Element[]FEATURESstatic java.lang.StringXMLNSstatic java.lang.StringXMLNS_PREFIX
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanspamReportedFrom(BareJID jid, SpamReportsConsumer.ReportType type)Method called when a user reports JID as a spammer
-
-
-
Field Detail
-
XMLNS_PREFIX
static final java.lang.String XMLNS_PREFIX
- See Also:
- Constant Field Values
-
XMLNS
static final java.lang.String XMLNS
- See Also:
- Constant Field Values
-
FEATURES
static final Element[] FEATURES
-
-
Method Detail
-
spamReportedFrom
boolean spamReportedFrom(BareJID jid, SpamReportsConsumer.ReportType type)
Method called when a user reports JID as a spammer- Parameters:
jid- - jid of the spammertype- - type of the abuse- Returns:
-
-