Class CallableClient
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.clients.CallableClient
-
-
Constructor Summary
Constructors Constructor Description CallableClient(int port, boolean securedClient, InetAddress ipAddress, String name, ScenarioHandler scenarioHandler, io.netty.bootstrap.Bootstrap bootstrap, io.netty.channel.EventLoopGroup eventExecutors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleancall()com.google.common.util.concurrent.SettableFuture<Boolean>getIsOnlineFuture()Returns the isOnlineFuture which is set when client is started.com.google.common.util.concurrent.SettableFuture<Boolean>getScenarioDone()Returns the scenarioDone when scenario is successfully finished.voidrun()voidsetScenarioHandler(ScenarioHandler scenario)Sets the ScenarioHandler.voidsetSecuredClient(boolean securedClient)Sets wether client should use encrypted communication.
-
-
-
Constructor Detail
-
CallableClient
public CallableClient(int port, boolean securedClient, InetAddress ipAddress, String name, ScenarioHandler scenarioHandler, io.netty.bootstrap.Bootstrap bootstrap, io.netty.channel.EventLoopGroup eventExecutors)
-
-
Method Detail
-
getIsOnlineFuture
public com.google.common.util.concurrent.SettableFuture<Boolean> getIsOnlineFuture()
Description copied from interface:OFClientReturns the isOnlineFuture which is set when client is started.- Specified by:
getIsOnlineFuturein interfaceOFClient
-
getScenarioDone
public com.google.common.util.concurrent.SettableFuture<Boolean> getScenarioDone()
Description copied from interface:OFClientReturns the scenarioDone when scenario is successfully finished.- Specified by:
getScenarioDonein interfaceOFClient
-
setScenarioHandler
public void setScenarioHandler(ScenarioHandler scenario)
Description copied from interface:OFClientSets the ScenarioHandler.- Specified by:
setScenarioHandlerin interfaceOFClient- Parameters:
scenario- list of desired actions
-
setSecuredClient
public void setSecuredClient(boolean securedClient)
Description copied from interface:OFClientSets wether client should use encrypted communication.- Specified by:
setSecuredClientin interfaceOFClient- Parameters:
securedClient- true is client should use encrypted communication, false otherwise
-
-