try {
if (StringUtils.isNotEmpty(ip)) {
consoleProperties.setConsoleHost(ip);
}
consoleProperties.setConsolePort(port);
this.consoleFoundation = new ConsoleFoundationEx(RESOURCE, LOGGER, consoleProperties, eventSyncCondition);
modelView = getConsoleComponent(SampleModelViews.class);
getConsoleComponent(ProcessControl.class).addProcessStatusListener(this);
} catch (GrinderException e) {
throw processException("Exception occurred while creating SingleConsole", e);
}