net.liftweb.http

LiftCometActor

trait LiftCometActor extends TypedActor[Any, Any] with ForwardableActor[Any, Any] with Dependent

Linear Supertypes
Dependent, ForwardableActor[Any, Any], TypedActor[Any, Any], SimpleActor[Any], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. LiftCometActor
  2. Dependent
  3. ForwardableActor
  4. TypedActor
  5. SimpleActor
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def !(param: Any): Unit

    Send a message to the Actor

    Send a message to the Actor

    param

    the message to send

    Definition Classes
    SimpleActor
  2. abstract def !!(message: Any, timeout: Long): Box[Any]

    Asynchronous message send.

    Asynchronous message send. Send-and-receive eventually. Waits on a Future for the reply message. If recevied within timout interval that is specified then it returns Some(result) and if a timeout has occured None.

    Definition Classes
    TypedActor
  3. abstract def !!(message: Any): Box[Any]

    Asynchronous message send.

    Asynchronous message send. Send-and-receive eventually. Waits on a Future for the reply message. If recevied within the Actor default timeout interval then it returns Some(result) and if a timeout has occured None.

    Definition Classes
    TypedActor
  4. abstract def !?(timeout: Long, message: Any): Box[Any]

    Compatible with Scala Actors' !? method

    Compatible with Scala Actors' !? method

    Definition Classes
    TypedActor
  5. abstract def !?(param: Any): Any

    Definition Classes
    TypedActor
  6. abstract def buildSpan(time: Long, xml: NodeSeq): NodeSeq

  7. abstract def forwardMessageTo(msg: Any, forwardTo: TypedActor[Any, Any]): Unit

    Attributes
    protected
    Definition Classes
    ForwardableActor
  8. abstract def hasOuter: Boolean

  9. abstract def initCometActor(theSession: LiftSession, theType: Box[String], name: Box[String], defaultHtml: NodeSeq, attributes: Map[String, String]): Unit

    Attributes
    protected
  10. abstract def jsonCall: JsonCall

  11. abstract def name: Box[String]

  12. abstract def parentTag: Elem

  13. abstract def reply(msg: Any): Unit

    Attributes
    protected
    Definition Classes
    ForwardableActor
  14. abstract def theType: Box[String]

  15. abstract def uniqueId: String

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def cometActorLocale: Locale

    The locale for the session that created the CometActor

  9. def cometProcessingTimeout: Long

    Override in sub-class to customise timeout for AJAX-requests to the comet-component for the specific comet

  10. 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#cometProcessingTimeout occurs 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")
    }
    

  11. def cometRenderTimeout: Long

    Override in sub-class to customise timeout for the render()-method for the specific comet

  12. 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#cometRenderTimeout occurs 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>)
    }
    

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. 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.

  23. def predicateChanged(which: net.liftweb.util.Cell[_]): Unit

    If the predicate cell changes, the Dependent will be notified

    If the predicate cell changes, the Dependent will be notified

    Definition Classes
    LiftCometActorDependent
  24. 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.

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    AnyRef → Any
  27. def unregisterFromAllDependencies(): Unit

    Remove from all dependencies

    Remove from all dependencies

    Attributes
    protected
    Definition Classes
    Dependent
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  31. def whoDoIDependOn: Seq[net.liftweb.util.Cell[_]]

    Get a list of all the cells this Dependency depends on

    Get a list of all the cells this Dependency depends on

    Attributes
    protected
    Definition Classes
    Dependent
  32. def youDependOnMe(who: net.liftweb.util.Cell[_]): Unit

    The Cell notifies the Dependent of the dependency

    The Cell notifies the Dependent of the dependency

    Definition Classes
    Dependent
  33. def youDontDependOnMe(who: net.liftweb.util.Cell[_]): Unit

    The Cell notifies the Dependent of the removed dependency

    The Cell notifies the Dependent of the removed dependency

    Definition Classes
    Dependent

Deprecated Value Members

  1. def unregisterFromAllDepenencies(): Unit

    Attributes
    protected
    Definition Classes
    Dependent
    Annotations
    @deprecated
    Deprecated

    (Since version 2.5) please used the correctly spelled unregisterFromAllDependencies

Inherited from Dependent

Inherited from ForwardableActor[Any, Any]

Inherited from TypedActor[Any, Any]

Inherited from SimpleActor[Any]

Inherited from AnyRef

Inherited from Any