code: public void createSession(Session session) {
          sessionMap.put(session.id(), session);
          Event event = new Event();
          event.attribute("session", session);
  
          eventManager.fireEvent(EventType.SESSION_CREATED, event);
      }
docs: Add a session instance to sessionMap
  
  @param session session instance