trait LiftCometActor extends TypedActor[Any, Any] with ForwardableActor[Any, Any] with Dependent
- Alphabetic
- By Inheritance
- LiftCometActor
- Dependent
- ForwardableActor
- TypedActor
- SimpleActor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def !(param: Any): Unit
- Definition Classes
- SimpleActor
- abstract def !!(message: Any, timeout: Long): Box[Any]
- Definition Classes
- TypedActor
- abstract def !!(message: Any): Box[Any]
- Definition Classes
- TypedActor
- abstract def !?(timeout: Long, message: Any): Box[Any]
- Definition Classes
- TypedActor
- abstract def !?(message: Any): Any
- Definition Classes
- TypedActor
- abstract def buildSpan(xml: NodeSeq): NodeSeq
- abstract def forwardMessageTo(msg: Any, forwardTo: TypedActor[Any, Any]): Unit
- Attributes
- protected
- Definition Classes
- ForwardableActor
- abstract def hasOuter: Boolean
- abstract def initCometActor(creationInfo: CometCreationInfo): Unit
- Attributes
- protected
- abstract def lastListenerTime: Long
The last "when" sent from the listener
The last "when" sent from the listener
- returns
the last when sent from the listener
- abstract def lastRenderTime: Long
- abstract def name: Box[String]
- abstract def parentTag: Elem
- abstract def reply(msg: Any): Unit
- Attributes
- protected
- Definition Classes
- ForwardableActor
- abstract def theType: Box[String]
- abstract def uniqueId: String
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def cometActorLocale: Locale
The locale for the session that created the CometActor
- def cometProcessingTimeout: Long
Override in sub-class to customise timeout for AJAX-requests to the comet-component for the specific comet
- def cometProcessingTimeoutHandler(): JsCmd
This is to react to comet-requests timing out.
This is to react to comet-requests timing out. When the timeout specified in
LiftRules#cometProcessingTimeoutoccurs one may override this to send a message to the user informing of the timeout.Do NOT manipulate actor-state here. If you want to manipulate state, send the actor a new message.
Typical example would be:
override def cometTimeoutHandler(): JsCmd = { Alert("Timeout processing comet-request, timeout is: " + cometProcessingTimeout + "ms") } - def cometRenderTimeout: Long
Override in sub-class to customise timeout for the render()-method for the specific comet
- def cometRenderTimeoutHandler(): Box[NodeSeq]
This is to react to comet-actors timing out while initial rendering, calls to render().
This is to react to comet-actors timing out while initial rendering, calls to render(). When the timeout specified in
LiftRules#cometRenderTimeoutoccurs one may override this to customise the output.Do NOT manipulate actor-state here. If you want to manipulate state, send the actor a new message.
Typical example would be:
override def renderTimeoutHandler(): Box[NodeSeq] = { Full(<div>Comet {this.getClass} timed out, timeout is {cometRenderTimeout}ms</div>) } - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def poke(): Unit
Poke the CometActor and cause it to do a partial update Noop which will have the effect of causing the component to redisplay any Wiring elements on the component.
Poke the CometActor and cause it to do a partial update Noop which will have the effect of causing the component to redisplay any Wiring elements on the component. This method is Actor-safe and may be called from any thread, not just the Actor's message handler thread.
- def predicateChanged(which: Cell[_]): Unit
If the predicate cell changes, the Dependent will be notified
If the predicate cell changes, the Dependent will be notified
- Definition Classes
- LiftCometActor → Dependent
- def sendInitialReq_?: Boolean
Is this CometActor going to capture the initial Req object? If yes, override this method and return true and override captureInitialReq to capture the Req.
Is this CometActor going to capture the initial Req object? If yes, override this method and return true and override captureInitialReq to capture the Req. Why have to explicitly ask for the Req? In order to send Req instances across threads, the Req objects must be snapshotted which is the process of reading the POST or PUT body from the HTTP request stream. We don't want to do this unless we have to, so by default the Req is not snapshotted/sent. But if you want it, you can have it.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unregisterFromAllDependencies(): Unit
- Attributes
- protected
- Definition Classes
- Dependent
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def whoDoIDependOn: Seq[Cell[_]]
- Attributes
- protected
- Definition Classes
- Dependent
- def youDependOnMe(who: Cell[_]): Unit
- Definition Classes
- Dependent
- def youDontDependOnMe(who: Cell[_]): Unit
- Definition Classes
- Dependent