org.opendaylight.openflowjava.protocol.impl.clients.OFClient Maven / Gradle / Ivy
The newest version!
/*
* Copyright (c) 2014 Pantheon Technologies s.r.o. 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
*/
package org.opendaylight.openflowjava.protocol.impl.clients;
import com.google.common.util.concurrent.SettableFuture;
/**
* Unifying interface for simple clients / switch simulators
*
* @author michal.polkorab
*/
public interface OFClient extends Runnable {
/**
* @return the isOnlineFuture which is set when client is started
*/
SettableFuture getIsOnlineFuture();
/**
* @return the scenarioDone when scenario is successfully finished
*/
SettableFuture getScenarioDone();
/**
* @param scenario list of desired actions
*/
void setScenarioHandler(ScenarioHandler scenario);
/**
* @param securedClient true is client should use encrypted communication,
* false otherwise
*/
void setSecuredClient(boolean securedClient);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy