public void handleGameRoomJoin(Player player, Channel channel, String refKey)
{
GameRoom gameRoom = lookupService.gameRoomLookup(refKey);
if (null != gameRoom)
{
PlayerSession playerSession = gameRoom.createPlayerSession(player);
gameRoom.onLogin(playerSession);
String reconnectKey = (String)idGeneratorService
.generateFor(playerSession.getClass());
playerSession.setAttribute(JetConfig.RECONNECT_KEY, reconnectKey);
playerSession.setAttribute(JetConfig.RECONNECT_REGISTRY, reconnectRegistry);
LOG.trace("Sending GAME_ROOM_JOIN_SUCCESS to channel {}",
channel.getId());
ChannelFuture future = channel.write(eventToFrame(
Events.GAME_ROOM_JOIN_SUCCESS, reconnectKey));
connectToGameRoom(gameRoom, playerSession, future);