/** * Copyright (c) <2013> <Radware Ltd.> and others. All rights reserved. * * This program and the accompanying materials are made available under the terms of the Eclipse Public License * v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html * @author Gera Goft * @version 0.1 */ package org.opendaylight.defense4all.core; import java.util.ArrayList; import java.util.List; import org.opendaylight.defense4all.framework.core.ExceptionControlApp; public interface MitigationMgr { /** * #### method description #### * @param param_name param description * @return return description * @throws ExceptionControlApp * @throws exception_type circumstances description */ public void addPN(String pnKey) throws ExceptionControlApp; /** * #### method description #### * @param param_name param description * @return return description * @throws ExceptionControlApp * @throws exception_type circumstances description */ public void removePN(String pnKey) throws ExceptionControlApp; /** * #### method description #### * @param param_name param description * @return return description * @throws ExceptionControlApp * @throws Throwable * @throws exception_type circumstances description */ public void mitigate(String attackKey); /** * #### method description #### * @param param_name param description * @return return description * @throws ExceptionControlApp * @throws exception_type circumstances description */ public void endMitigation(String attackKey); /** * #### method description #### * @param param_name param description * @return return description * @throws ExceptionControlApp * @throws exception_type circumstances description */ public void handleMitigationResponse(String mitigationKey, boolean mitigating); /** * #### method description #### * @param param_name param description * @return return description * @throws exception_type circumstances description */ public ArrayList<MitigationDriver> getMitigationDrivers(); /** * #### method description #### * @param param_name param description * @return return description * @throws ExceptionControlApp * @throws exception_type circumstances description */ public List<Mitigation> getAllPNMitigations(String pnkey); /** * * #### method description #### * @param param_name param description * @return return description * @throws exception_type circumstances description */ public void notifyFailedAMSs(List<String> failedAMSs); }