String clientVersion = ((Connect)command).getClientVersion();
if (clientVersion.equals(getVersion())) {
_log.info("client version accepted");
sendResponse(new Boolean(true));
} else {
throw new CommandException("Invalid client version '" + clientVersion + "'.");
}
} else if (command instanceof Disconnect) {
_log.info("disconnect command from client '" + _client.getInetAddress() + "' recieved.");
sendResponse(new Boolean(true));
break;