private SettableFuture<Boolean> isOnlineFuture;
private SettableFuture<Boolean> scenarioDone;
private ScenarioHandler scenarioHandler;
-
+
/**
* Constructor of class
*
isOnlineFuture = SettableFuture.create();
scenarioDone = SettableFuture.create();
}
-
+
/**
* Starting class of {@link SimpleClient}
*/
int port;
SimpleClient sc;
if (args.length != 3) {
- LOGGER.error("Usage: " + SimpleClient.class.getSimpleName()
- + " <host> <port> <secured>");
+ LOGGER.error("Usage: {} <host> <port> <secured>", SimpleClient.class.getSimpleName());
LOGGER.error("Trying to use default setting.");
InetAddress ia = InetAddress.getLocalHost();
InetAddress[] all = InetAddress.getAllByName(ia.getHostName());
public void setScenarioHandler(ScenarioHandler scenario) {
this.scenarioHandler = scenario;
}
-}
\ No newline at end of file
+}