X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=simple-client%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fopenflowjava%2Fprotocol%2Fimpl%2Fclients%2FOFClient.java;h=02a2199a5e527b243e1e358410884a1b7341a299;hb=519a86d1ddcfb8f0fe264174e62e5424e1efba1f;hp=0d4046ef44a3a59f7cee2511cd9ad00d91b9bcd1;hpb=62506a770072186715da157c11360cbd6adf7ad3;p=openflowjava.git diff --git a/simple-client/src/main/java/org/opendaylight/openflowjava/protocol/impl/clients/OFClient.java b/simple-client/src/main/java/org/opendaylight/openflowjava/protocol/impl/clients/OFClient.java index 0d4046ef..02a2199a 100644 --- a/simple-client/src/main/java/org/opendaylight/openflowjava/protocol/impl/clients/OFClient.java +++ b/simple-client/src/main/java/org/opendaylight/openflowjava/protocol/impl/clients/OFClient.java @@ -1,40 +1,40 @@ -/* - * 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); +/* + * 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); } \ No newline at end of file