Package tigase.xmpp

# Interface SpamReportsConsumer

public interface SpamReportsConsumer
Classes 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 enum`
  `SpamReportsConsumer.ReportType`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final Element[]`
  `FEATURES`
  `static final String`
  `XMLNS`
  `static final String`
  `XMLNS_PREFIX`
  `static final String`
  `XMLNS1_PREFIX`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `spamReportedFrom(BareJID jid, SpamReportsConsumer.ReportType type)`
  Method called when a user reports JID as a spammer

- ## Field Details

  - ### XMLNS_PREFIX

    static final String XMLNS_PREFIX
    See Also:
      - Constant Field Values

  - ### XMLNS1_PREFIX

    static final String XMLNS1_PREFIX
    See Also:
      - Constant Field Values

  - ### XMLNS

    static final String XMLNS
    See Also:
      - Constant Field Values

  - ### FEATURES

    static final Element[] FEATURES

- ## Method Details

  - ### spamReportedFrom

    boolean spamReportedFrom(BareJID jid, SpamReportsConsumer.ReportType type)
    Method called when a user reports JID as a spammer
    Parameters:
      `jid` - - jid of the spammer
      `type` - - type of the abuse
    Returns: