net.liftweb.http.SessionMaster

object SessionMaster

object SessionMaster

 extends LiftActor with Loggable


Manages LiftSessions because the servlet container is less than optimal at timing sessions out.


Source: LiftSession.scala(98)

 Constructors

def this

 Fields

aroundLoans.. protected def aroundLoans List[CommonLoanWrapper] SpecializedLiftActor
exceptionHandler.. protected def exceptionHandler PartialFunction[Throwable, Unit] SpecializedLiftActor
getIpFromReq.. var getIpFromReq
If you have a rule other than
Box !! req
        
              [details]
              
request.remoteAddress
for calculating the remote address, change this function
(Req) => Box[String]
highPriorityReceive.. protected def highPriorityReceive Box[PartialFunction[T, Unit]] SpecializedLiftActor
logger.. protected val logger Logger Loggable
messageHandler.. protected def messageHandler PartialFunction[Any, Unit]
sessionCheckFuncs.. var sessionCheckFuncs
A list of functions that are run every 10 seconds [details]
The first param is map containing the session ID and the sessions. The second param is a function to call to destroy the session.
List[(Map[String, SessionInfo], (SessionInfo) => Unit) => Unit]
sessionWatchers.. var sessionWatchers
Put an Actor in this list and the Actor will receive a message every 10 seconds with the current list of sessions: SessionWatcherInfo
List[LiftActor]

 Methods

!.. def !(arg0 : T) Unit SpecializedLiftActor
!!.. def !!(arg0 : Any) Box[Any] LiftActor
!!.. def !!(arg0 : Any, arg1 : Long) Box[Any] LiftActor
!<.. def !<(arg0 : Any) LAFuture[Any] LiftActor
!=.. final def !=(arg0 : Any) Boolean Any
!=.. final def !=(arg0 : Object) Boolean AnyRef
!?.. def !?(arg0 : Long, arg1 : Any) Box[Any] LiftActor
!?.. def !?(arg0 : Any) Any LiftActor
==.. final def ==(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Any) Boolean Any
addSession.. def addSession(liftSession : LiftSession, userAgent : Box[String], ipAddress : Box[String])
Adds a new session to SessionMaster
Unit
around.. protected def around[R](arg0 : => R) R SpecializedLiftActor
asInstanceOf.. final def asInstanceOf[T0] T0 Any
clone.. protected def clone Object AnyRef
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
execTranslate.. protected override def execTranslate(arg0 : (Any) => Unit) Unit LiftActor
finalize.. protected def finalize Unit AnyRef
forwardMessageTo.. protected final def forwardMessageTo(arg0 : Any, arg1 : TypedActor[Any, Any]) Unit LiftActor
getClass.. final def getClass Class[Any] AnyRef
getSession.. def getSession(httpSession : => HTTPSession, otherId : Box[String])
Returns a LiftSession or Empty if not found
Box[LiftSession]
getSession.. def getSession(req : HTTPRequest, otherId : Box[String])
Returns a LiftSession or Empty if not found
Box[LiftSession]
getSession.. def getSession(id : String, otherId : Box[String]) Box[LiftSession]
hashCode.. def hashCode Int AnyRef
insertMsgAtHeadOfQueue_!.. protected def insertMsgAtHeadOfQueue_!(arg0 : T) Unit SpecializedLiftActor
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
reply.. protected def reply(arg0 : Any) Unit LiftActor
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
testTranslate.. protected override def testTranslate(arg0 : (Any) => Boolean) Boolean LiftActor
toString.. def toString String AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.