if (!(channel instanceof ServerChannel)) {
throw new ConfigurationException (channelString +
"does not implement ServerChannel");
}
ThreadPool pool = null;
pool = new ThreadPool (minSessions ,maxSessions);
pool.setLogger (log.getLogger(), getName() + ".pool");
server = new ISOServer (port, (ServerChannel) channel, pool);
server.setLogger (log.getLogger(), getName() + ".server");
server.setName (getName ());
if (socketFactoryString != null) {