Constructor and Description |
---|
CallableClient(int port,
boolean securedClient,
InetAddress ipAddress,
String name,
ScenarioHandler scenarioHandler,
io.netty.bootstrap.Bootstrap bootstrap,
io.netty.channel.EventLoopGroup eventExecutors) |
Modifier and Type | Method and Description |
---|---|
Boolean |
call() |
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.
|
void |
run() |
void |
setScenarioHandler(ScenarioHandler scenario)
Sets the ScenarioHandler.
|
void |
setSecuredClient(boolean securedClient)
Sets wether client should use encrypted communication.
|
public CallableClient(int port, boolean securedClient, InetAddress ipAddress, String name, ScenarioHandler scenarioHandler, io.netty.bootstrap.Bootstrap bootstrap, io.netty.channel.EventLoopGroup eventExecutors)
public com.google.common.util.concurrent.SettableFuture<Boolean> getIsOnlineFuture()
OFClient
getIsOnlineFuture
in interface OFClient
public com.google.common.util.concurrent.SettableFuture<Boolean> getScenarioDone()
OFClient
getScenarioDone
in interface OFClient
public void setScenarioHandler(ScenarioHandler scenario)
OFClient
setScenarioHandler
in interface OFClient
scenario
- list of desired actionspublic void setSecuredClient(boolean securedClient)
OFClient
setSecuredClient
in interface OFClient
securedClient
- true is client should use encrypted communication, false otherwiseCopyright © 2020 OpenDaylight. All rights reserved.