The specified callback is called per each session.
callback
101102103104105106107108109110111
{ sessionList.add(session); return true; // continue } }; appCtx.enumerateSessions(cb); ItsNatVariableResolver resolver = itsNatDoc.createItsNatVariableResolver(true); resolver.setLocalVariable("refreshInterval",new Integer(3000)); resolver.setLocalVariable("commMode",new Integer(CommMode.XHR_ASYNC));
13601361136213631364136513661367136813691370
{ sessionList.add(session); return true; // continue } }; appCtx.enumerateSessions(cb); ElementGroupManager factory = itsNatDoc.getElementGroupManager(); ElementList sessionNodeList = factory.createElementList(doc.getElementById("otherSessionsId"),true); ItsNatVariableResolver resolver = itsNatDoc.createItsNatVariableResolver(true);
5253545556575859606162
{ sessions.add(session); return true; } }; appCtx.enumerateSessions(cb); ItsNatDocument itsNatDoc = request.getItsNatDocument(); Document doc = itsNatDoc.getDocument(); ItsNatHttpServletRequest httpRequest = (ItsNatHttpServletRequest)request;