Interface IFloodCheck

All Known Implementing Classes:
FloodCheck

public interface IFloodCheck
Implement this interface to assert if an entry is flooding or not.
Author:
miguel
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if with the information stored an entry implementation determines that there is a flood attack.
    void
    Called by FloodValidator when the connection is found to be flooding.
  • Method Details

    • isFlooding

      boolean isFlooding(FloodMeasure entry)
      Returns true if with the information stored an entry implementation determines that there is a flood attack.
      Parameters:
      entry - Flood measures to help us take a decision
      Returns:
      true if there is a flood from this entry.
    • onFlood

      void onFlood(FloodMeasure entry)
      Called by FloodValidator when the connection is found to be flooding.
      Parameters:
      entry - the channel that is causing the flood.