src/test/apps/xconnect/src/main/java/org/ciena/xconnect/AppComponent.java
private void revokeFilter(XConnectStoreKey key, Set<PortNumber> ports) {
        ports.forEach(port -> {
            FilteringObjective.Builder filtObjBuilder = filterObjBuilder(key, port);
            ObjectiveContext context = new DefaultObjectiveContext(
                    (objective) -> log.debug("XConnect FilterObj for {} on port {} revoked",
                            key, port),
                    (objective, error) ->
                            log.warn("Failed to revoke XConnect FilterObj for {} on port {}: {}",
                                    key, port, error));
            flowObjectiveService.filter(key.deviceId(), filtObjBuilder.remove(context));
        });
    }
/**
     * Revokes filtering objectives for given XConnect.
     *
     * @param key XConnect store key
     * @param ports XConnect ports
     */
Revokes filtering objectives for given XConnect.
@param key XConnect store key
@param ports XConnect ports
Revokes filtering objectives for given XConnect . @param key XConnect store key @param ports XConnect ports
private void revokeFilter(XConnectStoreKey key, Set<PortNumber> ports) {
        ports.forEach(port -> {
            FilteringObjective.Builder filtObjBuilder = filterObjBuilder(key, port);
            ObjectiveContext context = new DefaultObjectiveContext(
                    (objective) -> log.debug("XConnect FilterObj for {} on port {} revoked",
                            key, port),
                    (objective, error) ->
                            log.warn("Failed to revoke XConnect FilterObj for {} on port {}: {}",
                                    key, port, error));
            flowObjectiveService.filter(key.deviceId(), filtObjBuilder.remove(context));
        });
    }
private void revokeFilter ( XConnectStoreKey key , Set < PortNumber > ports ) { ports . forEach ( port -> { FilteringObjective . Builder filtObjBuilder = filterObjBuilder ( key , port ) ; ObjectiveContext context = new DefaultObjectiveContext ( ( objective ) -> log . debug ( "XConnect FilterObj for {} on port {} revoked" , key , port ) , ( objective , error ) -> log . warn ( "Failed to revoke XConnect FilterObj for {} on port {}: {}" , key , port , error ) ) ; flowObjectiveService . filter ( key . deviceId ( ) , filtObjBuilder . remove ( context ) ) ; } ) ; }
Revokes filtering objectives for given XConnect.
Revokes filtering objectives for given XConnect .