| 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()
OFClientgetIsOnlineFuture in interface OFClientpublic com.google.common.util.concurrent.SettableFuture<Boolean> getScenarioDone()
OFClientgetScenarioDone in interface OFClientpublic void setScenarioHandler(ScenarioHandler scenario)
OFClientsetScenarioHandler in interface OFClientscenario - list of desired actionspublic void setSecuredClient(boolean securedClient)
OFClientsetSecuredClient in interface OFClientsecuredClient - true is client should use encrypted communication, false otherwiseCopyright © 2020 OpenDaylight. All rights reserved.