net.i2p.client.streaming

## Interface IncomingConnectionFilter

- All Known Subinterfaces:
    StatefulConnectionFilter
  All Known Implementing Classes:
    AccessFilter

      public interface IncomingConnectionFilter

  Something that filters incoming streaming connections.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static IncomingConnectionFilter` | `ALLOW` Utility implementation that allows all incoming connections
    `static IncomingConnectionFilter` | `DENY` Utility implementation that denies all incoming connections

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `allowDestination(Destination d)` Check if the destination should be allowed to establish an incoming connection.

- - ### Field Detail

    - #### ALLOW

          static final IncomingConnectionFilter ALLOW

      Utility implementation that allows all incoming connections

    - #### DENY

          static final IncomingConnectionFilter DENY

      Utility implementation that denies all incoming connections

  - ### Method Detail

    - #### allowDestination

          boolean allowDestination(Destination d)

      Check if the destination should be allowed to establish an incoming connection.
      Parameters:
        `d` - the destination that wants to establish an incoming connection
      Returns:
        true if the connection should be allowed.