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 class` | `SpamReportsConsumer.ReportType` |

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static Element[]` | `FEATURES` |
    `static java.lang.String` | `XMLNS` |
    `static java.lang.String` | `XMLNS_PREFIX` |

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `spamReportedFrom​(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 spammer
        `type` - - type of the abuse
      Returns: