if(logger.isDebugEnabled()) {
logger.debug("handle message, " + msg.printHeaders() + " | " + msg.getSrc() + " | " + msg.getObject()) ;
}
Session session = (Session) msg.getObject();
MissileView view = session.missileView();
if(view.isLive()) {
Missile missile = missileMap.get(view.getId());
if(null == missile) {
missileMap.put(view.getId(), new Missile(view));
} else {
missile.updateMissile(view);
}
} else {
missileMap.remove(view.getId());
}
}