msgLogout.setProtocolVersion(msg.getProtocolVersion());
netMan.sendMessage(msgLogout);
entry.state = ClientState.LOGOUT_ACCEPTED;
} else {
MessageS2CLogoutNACK msgLogout = new MessageS2CLogoutNACK(msg.getSocketChannel());
msgLogout.setClientID(clientid);
msgLogout.setProtocolVersion(msg.getProtocolVersion());
netMan.sendMessage(msgLogout);
}
} catch (Exception e) {
logger.error("error while processing LogoutEvent", e);
}