AppFilterHandler

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.ocap.application
Interface AppFilterHandler

    public interface AppFilterHandler

Application programs can provide an implementation of this interface to an `AppFilter` to make part of decision for `AppFilter.accept`.

See Also:
  `AppFilter.setAskHandler(org.ocap.application.AppFilterHandler)`

Method Summary
`boolean` | `accept(AppID appID, AppPattern matchingItem)` This method is called by `AppFilter.accept(org.dvb.application.AppID)` when it finds a matching `AppPattern` whose action is `ASK`.

Method Detail

### accept

    boolean accept(AppID appID,
                   AppPattern matchingItem)

  This method is called by `AppFilter.accept(org.dvb.application.AppID)` when it finds a matching `AppPattern` whose action is `ASK`.

  The return value of this method will be the return value of `AppFilter.accept`. The semantics of this method is identical to `AppsDatabaseFilter.accept(org.dvb.application.AppID)` except that the additional parameter `matchingItem` could be used as a hint.

  Parameters:
    `appID` - an AppID to test.
    `matchingItem` - the `AppPattern` in `AppFilter` that matched `appID`
  Returns:
    `true` if `appID` passes this filter.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD