Packages

t

net.liftweb.http

LiftCometActor

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

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LiftCometActor
  2. Dependent
  3. ForwardableActor
  4. TypedActor
  5. SimpleActor
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
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 Full(result) and if a timeout has occured Empty or Failure.

    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 Full(result) and if a timeout has occured Empty or Failure.

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

    Compatible with Scala actors' !? method, sends the given message to this actor and waits up to timeout for a reply, returning Empty or Failure if no reply is received by then.

    Compatible with Scala actors' !? method, sends the given message to this actor and waits up to timeout for a reply, returning Empty or Failure if no reply is received by then.

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

    Compatible with Scala actors' !? method, sends the given message to this actor and waits infinitely for a reply.

    Compatible with Scala actors' !? method, sends the given message to this actor and waits infinitely for a reply.

    Definition Classes
    TypedActor
  6. abstract def buildSpan(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(creationInfo: CometCreationInfo): Unit
    Attributes
    protected
  10. 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

  11. abstract def lastRenderTime: Long
  12. abstract def name: Box[String]
  13. abstract def parentTag: Elem
  14. abstract def reply(msg: Any): Unit
    Attributes
    protected
    Definition Classes
    ForwardableActor
  15. abstract def theType: Box[String]
  16. abstract def uniqueId: String

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def cometActorLocale: Locale

    The locale for the session that created the CometActor

  7. def cometProcessingTimeout: Long

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

  8. 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")
    }
    

  9. def cometRenderTimeout: Long

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

  10. 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>)
    }
    

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  20. 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.

  21. 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
    LiftCometActorDependent
  22. 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.

  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def unregisterFromAllDependencies(): Unit

    Remove from all dependencies

    Remove from all dependencies

    Attributes
    protected
    Definition Classes
    Dependent
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def whoDoIDependOn: Seq[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
  30. def youDependOnMe(who: Cell[_]): Unit

    The Cell notifies the Dependent of the dependency

    The Cell notifies the Dependent of the dependency

    Definition Classes
    Dependent
  31. def youDontDependOnMe(who: Cell[_]): Unit

    The Cell notifies the Dependent of the removed dependency

    The Cell notifies the Dependent of the removed dependency

    Definition Classes
    Dependent

Inherited from Dependent

Inherited from ForwardableActor[Any, Any]

Inherited from TypedActor[Any, Any]

Inherited from SimpleActor[Any]

Inherited from AnyRef

Inherited from Any

Ungrouped