String[] nicsStrings = this.nicsStrings.split(",");
for (String nicString : nicsStrings) {
nics.add(nicString);
}
SCServer sc = new SCServer(TestConstants.HOST, this.port, nics, this.listenerPort, this.connectionType);
try {
sc.setKeepAliveIntervalSeconds(10);
sc.setCheckRegistrationIntervalSeconds(10);
sc.setImmediateConnect(true);
sc.startListener();
String[] serviceNames = this.serviceNames.split(",");
for (String serviceName : serviceNames) {
SCSessionServer server = sc.newSessionServer(serviceName);
SCSessionServerCallback cbk = new SrvCallback(server);
try {
server.register(10, this.maxSessions, this.maxConnections, cbk);
} catch (Exception e) {
LOGGER.error("runSessionServer", e);