Class/Object

net.liftweb.builtin.comet

AsyncRenderComet

Related Docs: object AsyncRenderComet | package comet

Permalink

class AsyncRenderComet extends MessageCometActor

AsyncRenderComet facilitates rendering anything that produces a JsCmd independently from a page request. All you have to do is create one and send it a Compute message with the function that will produce the JsCmd. AsyncRenderComet will take ownership of the function and run it in a separate thread comet context, sending the results down using a partialUpdate when it is done.

Note that if you want to run a function that requires the context of the request you're running in, you'll want to use LiftSession's buildDeferredFunction method to make sure that when the function is executed in a separate thread, it will retain request context.

In general, consider using one of:

None of these requires explicit use of buildDeferredFunction.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AsyncRenderComet
  2. MessageCometActor
  3. BaseCometActor
  4. CssBindImplicits
  5. LiftCometActor
  6. Dependent
  7. LiftActor
  8. ForwardableActor
  9. GenericActor
  10. TypedActor
  11. SpecializedLiftActor
  12. SimpleActor
  13. AnyRef
  14. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AsyncRenderComet()

    Permalink

Type Members

  1. class CssBindPromoter extends AnyRef

    Permalink
    Definition Classes
    CssBindImplicits
  2. implicit class CssSelectorToCssBindPromoter extends CssBindPromoter

    Permalink
    Definition Classes
    CssBindImplicits
  3. implicit class StringToCssBindPromoter extends CssBindPromoter

    Permalink
    Definition Classes
    CssBindImplicits

Value Members

  1. def !(msg: Any): Unit

    Permalink

    Send a message to the Actor.

    Send a message to the Actor. This call will always succeed and return almost immediately. The message will be processed asynchronously.

    Definition Classes
    SpecializedLiftActorSimpleActor
  2. def !!(msg: Any): Box[Any]

    Permalink

    Send a message to the Actor and wait for the actor to process the message and reply.

    Send a message to the Actor and wait for the actor to process the message and reply.

    Definition Classes
    LiftActorTypedActor
  3. def !!(msg: Any, timeout: Long): Box[Any]

    Permalink

    Send a message to the Actor and wait for up to timeout milliseconds for the actor to process the message and reply.

    Send a message to the Actor and wait for up to timeout milliseconds for the actor to process the message and reply.

    Definition Classes
    LiftActorTypedActor
  4. def !<(msg: Any): LAFuture[Any]

    Permalink

    Send a message to the Actor and get an LAFuture that will contain the reply (if any) from the message

    Send a message to the Actor and get an LAFuture that will contain the reply (if any) from the message

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

    Permalink
    Definition Classes
    AnyRef → Any
  6. def !?(timeout: Long, message: Any): Box[Any]

    Permalink

    Send a message to the Actor and wait for up to timeout milliseconds for the actor to process the message and reply.

    Send a message to the Actor and wait for up to timeout milliseconds for the actor to process the message and reply.

    Definition Classes
    LiftActorTypedActor
  7. def !?(msg: Any): Any

    Permalink

    Send a message to the Actor and wait for the actor to process the message and reply.

    Send a message to the Actor and wait for the actor to process the message and reply.

    Definition Classes
    LiftActorTypedActor
  8. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def alwaysReRenderOnPageLoad: Boolean

    Permalink

    Set to 'true' if we should run "render" on every page load

    Set to 'true' if we should run "render" on every page load

    Attributes
    protected
    Definition Classes
    BaseCometActor
  11. def answer(answer: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    BaseCometActor
  12. def appendJsonHandler(h: PartialFunction[Any, JsCmd]): Unit

    Permalink

    Prepends the handler to the Json Handlers.

    Prepends the handler to the Json Handlers. Should only be used during instantiation

    h

    -- the PartialFunction that can handle a JSON request

    Definition Classes
    BaseCometActor
  13. def around[R](f: ⇒ R): R

    Permalink

    You can wrap calls around the evaluation of the mailbox.

    You can wrap calls around the evaluation of the mailbox. This allows you to set up the environment.

    Attributes
    protected
    Definition Classes
    SpecializedLiftActor
  14. def aroundLoans: List[CommonLoanWrapper]

    Permalink

    A list of LoanWrappers that will be executed around the evaluation of mailboxes

    A list of LoanWrappers that will be executed around the evaluation of mailboxes

    Attributes
    protected
    Definition Classes
    SpecializedLiftActor
  15. implicit def arrayToRenderOut(in: Seq[Node]): RenderOut

    Permalink

    Convert a Seq[Node] (the superclass of NodeSeq) to a RenderOut.

    Convert a Seq[Node] (the superclass of NodeSeq) to a RenderOut. The render method returns a RenderOut. This method implicitly (in Scala) or explicitly (in Java) will convert a NodeSeq to a RenderOut. This is helpful if you return a NodeSeq from your render method.

    Attributes
    protected
    Definition Classes
    BaseCometActor
  16. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  17. def ask(who: LiftCometActor, what: Any)(answerWith: (Any) ⇒ Unit): Unit

    Permalink

    Ask another CometActor a question.

    Ask another CometActor a question. That other CometActor will take over the screen real estate until the question is answered.

    Attributes
    protected
    Definition Classes
    BaseCometActor
  18. def attributes: Map[String, String]

    Permalink
    Definition Classes
    BaseCometActor
  19. def autoIncludeJsonCode: Boolean

    Permalink

    Set this method to true to have the Json call code included in the Comet output

    Set this method to true to have the Json call code included in the Comet output

    Definition Classes
    BaseCometActor
  20. def buildSpan(xml: NodeSeq): Elem

    Permalink

    Creates the span element acting as the real estate for comet rendering.

    Creates the span element acting as the real estate for comet rendering.

    Definition Classes
    BaseCometActorLiftCometActor
  21. def cacheFixedRender: Boolean

    Permalink

    By default, we do not cache the value of fixedRender.

    By default, we do not cache the value of fixedRender. If it's expensive to recompute it each time there's a conversion of something to a RenderOut, override this method if you want to cache fixedRender.

    Attributes
    protected
    Definition Classes
    BaseCometActor
  22. def calcFixedRender: Box[NodeSeq]

    Permalink

    Calculate fixedRender and capture the postpage javascript

    Calculate fixedRender and capture the postpage javascript

    Attributes
    protected
    Definition Classes
    BaseCometActor
  23. def captureInitialReq(initialReq: Box[Req]): Unit

    Permalink

    Comet Actors live outside the HTTP request/response cycle.

    Comet Actors live outside the HTTP request/response cycle. However, it may be useful to know what Request led to the creation of the CometActor. You can override this method and capture the initial Req object. Note that keeping a reference to the Req may lead to memory retention issues if the Req contains large message bodies, etc. It's optimal to capture the path or capture any request parameters that you care about rather the keeping the whole Req reference.

    Attributes
    protected
    Definition Classes
    BaseCometActor
  24. def clearWiringDependencies(): Unit

    Permalink

    Clear the common dependencies for Wiring.

    Clear the common dependencies for Wiring. This method will clearPostPageJavaScriptForThisPage() and unregisterFromAllDependencies(). The combination will result in a clean slate for Wiring during a redraw. You can change the behavior of the wiring dependency management by overriding this method

    Attributes
    protected
    Definition Classes
    BaseCometActor
  25. def clone(): AnyRef

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

    Permalink

    The locale for the session that created the CometActor

    The locale for the session that created the CometActor

    Definition Classes
    LiftCometActor
  27. def cometListeners: List[ListenerId]

    Permalink

    Return the list of ListenerIds of all long poll agents that are waiting for this CometActor to change its state.

    Return the list of ListenerIds of all long poll agents that are waiting for this CometActor to change its state. This method is useful for detecting presence.

    Attributes
    protected
    Definition Classes
    BaseCometActor
  28. def cometProcessingTimeout: Long

    Permalink

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

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

    Definition Classes
    LiftCometActor
  29. def cometProcessingTimeoutHandler(): JsCmd

    Permalink

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

    Definition Classes
    LiftCometActor
  30. def cometRenderTimeout: Long

    Permalink

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

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

    Definition Classes
    LiftCometActor
  31. def cometRenderTimeoutHandler(): Box[NodeSeq]

    Permalink

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

    Definition Classes
    LiftCometActor
  32. def composeFunction: PartialFunction[Any, Unit]

    Permalink

    Compose the Message Handler function.

    Compose the Message Handler function. By default, composes highPriority orElse mediumPriority orElse internalHandler orElse lowPriority orElse internalHandler. But you can change how the handler works if doing stuff in highPriority, mediumPriority and lowPriority is not enough.

    Attributes
    protected
    Definition Classes
    BaseCometActor
  33. def defaultHtml: NodeSeq

    Permalink

    The template that was passed to this component during comet initializations

    The template that was passed to this component during comet initializations

    Definition Classes
    BaseCometActor
  34. def defaultPrefix: Box[String]

    Permalink
    Definition Classes
    BaseCometActor
  35. def dontCacheRendering: Boolean

    Permalink

    Set this method to true if you want to avoid caching the rendering.

    Set this method to true if you want to avoid caching the rendering. This trades space for time.

    Attributes
    protected
    Definition Classes
    BaseCometActor
  36. implicit def elemToFull(in: Elem): Box[NodeSeq]

    Permalink
    Definition Classes
    BaseCometActor
  37. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  39. def error(id: String, n: String): Unit

    Permalink

    Similar with S.error

    Similar with S.error

    Definition Classes
    BaseCometActor
  40. def error(id: String, n: NodeSeq): Unit

    Permalink

    Similar with S.error

    Similar with S.error

    Definition Classes
    BaseCometActor
  41. def error(n: NodeSeq): Unit

    Permalink

    Similar with S.error

    Similar with S.error

    Definition Classes
    BaseCometActor
  42. def error(n: String): Unit

    Permalink

    Similar with S.error

    Similar with S.error

    Definition Classes
    BaseCometActor
  43. def exceptionHandler: PartialFunction[Throwable, Unit]

    Permalink

    By default, CometActor handles RedirectShortcutException, which is used to handle many types of redirects in Lift.

    By default, CometActor handles RedirectShortcutException, which is used to handle many types of redirects in Lift. If you override this PartialFunction to do your own exception handling and want redirects from e.g. S.redirectTo to continue working correctly, make sure you chain back to this implementation.

    Definition Classes
    BaseCometActorSpecializedLiftActor
  44. def execTranslate(f: (Any) ⇒ Unit)(v: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LiftActorSpecializedLiftActor
  45. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  46. def fixedRender: Box[NodeSeq]

    Permalink

    A part of the CometActor's screen real estate that is not updated by default with reRender().

    A part of the CometActor's screen real estate that is not updated by default with reRender(). This block of HTML is useful for the editor part of a Comet-based control where the data is JSON and updated with partialUpdates.

    Definition Classes
    BaseCometActor
  47. final def forwardMessageTo(msg: Any, forwardTo: TypedActor[Any, Any]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LiftActorForwardableActor
  48. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  49. def hasOuter: Boolean

    Permalink
    Definition Classes
    BaseCometActorLiftCometActor
  50. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  51. def highPriority: PartialFunction[Any, Unit]

    Permalink

    Handle messages sent to this Actor before the

    Handle messages sent to this Actor before the

    Definition Classes
    BaseCometActor
  52. def highPriorityReceive: Box[PartialFunction[Any, Unit]]

    Permalink
    Attributes
    protected
    Definition Classes
    SpecializedLiftActor
  53. def initCometActor(creationInfo: CometCreationInfo): Unit

    Permalink

    It's seriously suboptimal to override this method.

    It's seriously suboptimal to override this method. Instead use localSetup()

    Definition Classes
    AsyncRenderCometBaseCometActorLiftCometActor
  54. def insertMsgAtHeadOfQueue_!(msg: Any): Unit

    Permalink

    This method inserts the message at the head of the mailbox.

    This method inserts the message at the head of the mailbox. It's protected because this functionality may or may not want to be exposed.

    Attributes
    protected
    Definition Classes
    SpecializedLiftActor
  55. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  56. implicit def jsToXmlOrJsCmd(in: JsCmd): RenderOut

    Permalink
    Attributes
    protected
    Definition Classes
    BaseCometActor
  57. def jsonSend: JsonCall

    Permalink

    The JavaScript call that you use to send the data to the server.

    The JavaScript call that you use to send the data to the server. For example: <button onclick={jsonSend("Hello", JsRaw("Dude".encJs))}>Click</button>

    Definition Classes
    BaseCometActor
  58. def jsonToIncludeInCode: JsCmd

    Permalink

    The call that packages up the JSON and tosses it to the server.

    The call that packages up the JSON and tosses it to the server. If you set autoIncludeJsonCode to true, then this will be included in the stuff sent to the server.

    Definition Classes
    BaseCometActor
  59. def lastListenerTime: Long

    Permalink

    The last "when" sent from the listener

    The last "when" sent from the listener

    returns

    the last when sent from the listener

    Definition Classes
    BaseCometActorLiftCometActor
  60. def lastRenderTime: Long

    Permalink
    Definition Classes
    BaseCometActorLiftCometActor
  61. def lifespan: Box[util.Helpers.TimeSpan]

    Permalink

    The lifespan of this component.

    The lifespan of this component. By default CometActors will last for the entire session that they were created in, even if the CometActor is not currently visible. You can set the lifespan of the CometActor. If the CometActor isn't visible on any page for some period after its lifespan the CometActor will be shut down.

    Definition Classes
    AsyncRenderCometBaseCometActor
  62. def listenerTransition(): Unit

    Permalink

    This method will be called when there's a change in the long poll listeners.

    This method will be called when there's a change in the long poll listeners. The method does nothing, but allows you to get a granular sense of how many browsers care about this CometActor. Note that this method should not block for any material time and if there's any processing to do, use Scheduler.schedule or send a message to this CometActor. Do not change the Actor's state from this method.

    Attributes
    protected
    Definition Classes
    BaseCometActor
  63. def localSetup(): Unit

    Permalink

    This method will be called after the Actor has started.

    This method will be called after the Actor has started. Do any setup here. DO NOT do initialization in the constructor or in initCometActor... do it here.

    Attributes
    protected
    Definition Classes
    BaseCometActor
  64. def localShutdown(): Unit

    Permalink

    This method will be called as part of the shut-down of the actor.

    This method will be called as part of the shut-down of the actor. Release any resources here.

    Attributes
    protected
    Definition Classes
    BaseCometActor
  65. def lowPriority: PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    AsyncRenderCometBaseCometActor
  66. def manualWiringDependencyManagement: Boolean

    Permalink

    By default, Lift deals with managing wiring dependencies.

    By default, Lift deals with managing wiring dependencies. This means on each full render (a full render will happen on reRender() or on a page load if there have been partial updates.) You may want to manually deal with wiring dependencies. If you do, override this method and return true

    Attributes
    protected
    Definition Classes
    BaseCometActor
  67. def mediumPriority: PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    BaseCometActor
  68. def messageHandler: PartialFunction[Any, Unit]

    Permalink
    Attributes
    protected
    Definition Classes
    BaseCometActorSpecializedLiftActor
  69. def name: Box[String]

    Permalink

    The optional name of this CometActors

    The optional name of this CometActors

    Definition Classes
    BaseCometActorLiftCometActor
  70. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  71. implicit def nodeSeqFuncToBoxNodeSeq(f: (NodeSeq) ⇒ NodeSeq): Box[NodeSeq]

    Permalink

    A helpful implicit conversion that takes a NodeSeq => NodeSeq (for example a CssSel) and converts it to a Box[NodeSeq] by applying the function to defaultHtml

    A helpful implicit conversion that takes a NodeSeq => NodeSeq (for example a CssSel) and converts it to a Box[NodeSeq] by applying the function to defaultHtml

    Attributes
    protected
    Definition Classes
    BaseCometActor
  72. implicit def nodeSeqToFull(in: NodeSeq): Box[NodeSeq]

    Permalink
    Definition Classes
    BaseCometActor
  73. def notice(id: String, n: String): Unit

    Permalink

    Similar with S.notice

    Similar with S.notice

    Definition Classes
    BaseCometActor
  74. def notice(id: String, n: NodeSeq): Unit

    Permalink

    Similar with S.notice

    Similar with S.notice

    Definition Classes
    BaseCometActor
  75. def notice(n: NodeSeq): Unit

    Permalink

    Similar with S.notice

    Similar with S.notice

    Definition Classes
    BaseCometActor
  76. def notice(n: String): Unit

    Permalink

    Similar with S.notice

    Similar with S.notice

    Definition Classes
    BaseCometActor
  77. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  78. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  79. implicit def nsToNsFuncToRenderOut(f: (NodeSeq) ⇒ NodeSeq): RenderOut

    Permalink

    Convert a NodeSeq => NodeSeq to a RenderOut.

    Convert a NodeSeq => NodeSeq to a RenderOut. The render method returns a RenderOut. This method implicitly (in Scala) or explicitly (in Java) will convert a NodeSeq => NodeSeq to a RenderOut. This is helpful if you use Lift's CSS Selector Transforms to define rendering.

    Attributes
    protected
    Definition Classes
    BaseCometActor
  80. def onJsonError: Box[JsCmd]

    Permalink

    If there's actor-specific JSON behavior on failure to make the JSON call, include the JavaScript here.

    If there's actor-specific JSON behavior on failure to make the JSON call, include the JavaScript here.

    Definition Classes
    BaseCometActor
  81. implicit def pairToPair(in: (String, Any)): (String, NodeSeq)

    Permalink
    Definition Classes
    BaseCometActor
  82. def parentTag: Elem

    Permalink
    Definition Classes
    BaseCometActorLiftCometActor
  83. def partialUpdate(cmd: ⇒ JsCmd): Unit

    Permalink

    Perform a partial update of the comet component based on the JsCmd.

    Perform a partial update of the comet component based on the JsCmd. This means that the JsCmd will be sent to all of the currently listening browser tabs. This is the preferred method over reRender to update the component

    Attributes
    protected
    Definition Classes
    BaseCometActor
  84. def poke(): Unit

    Permalink

    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.

    Definition Classes
    BaseCometActorLiftCometActor
  85. def predicateChanged(which: Cell[_]): Unit

    Permalink

    If the predicate cell changes, the Dependent will be notified

    If the predicate cell changes, the Dependent will be notified

    Definition Classes
    LiftCometActorDependent
  86. def pushMessage(cmd: ⇒ JsCmd): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    MessageCometActor
  87. def reRender(): Unit

    Permalink

    Cause the entire component to be reRendered and pushed out to any listeners.

    Cause the entire component to be reRendered and pushed out to any listeners. This method will cause the entire component to be rendered which can result in a huge blob of JavaScript to be sent to the client. It's a much better practice to use partialUpdate for non-trivial CometActor components.

    Definition Classes
    BaseCometActor
  88. def reRender(sendAll: Boolean): Unit

    Permalink

    Cause the entire component to be reRendered and pushed out to any listeners.

    Cause the entire component to be reRendered and pushed out to any listeners. This method will cause the entire component to be rendered which can result in a huge blob of JavaScript to be sent to the client. It's a much better practice to use partialUpdate for non-trivial CometActor components.

    sendAll

    -- Should the fixed part of the CometActor be rendered.

    Definition Classes
    BaseCometActor
  89. def receiveJson: PartialFunction[JValue, JsCmd]

    Permalink

    Override this method to deal with JSON sent from the browser via the sendJson function.

    Override this method to deal with JSON sent from the browser via the sendJson function. This is based on the Lift JSON package rather than the handleJson stuff based on the older util.JsonParser. This is the preferred mechanism. If you use the jsonSend call, you will get a JObject(JField("command", cmd), JField("param", params))

    Definition Classes
    BaseCometActor
  90. final def render: RenderOut

    Permalink

    It's the main method to override, to define what is rendered by the CometActor

    It's the main method to override, to define what is rendered by the CometActor

    There are implicit conversions for a bunch of stuff to RenderOut (including NodeSeq). Thus, if you don't declare the return turn to be something other than RenderOut and return something that's coercible into RenderOut, the compiler "does the right thing"(tm) for you.
    There are implicit conversions for NodeSeq, so you can return a pile of XML right here. There's an implicit conversion for NodeSeq => NodeSeq, so you can return a function (e.g., a CssBindFunc) that will convert the defaultHtml to the correct output. There's an implicit conversion from JsCmd, so you can return a pile of JavaScript that'll be shipped to the browser.
    Note that the render method will be called each time a new browser tab is opened to the comet component or the comet component is otherwise accessed during a full page load (this is true if a partialUpdate has occurred.) You may want to look at the fixedRender method which is only called once and sets up a stable rendering state.

    Definition Classes
    MessageCometActorBaseCometActor
  91. def renderClock: Long

    Permalink

    Get the current render clock for the CometActor

    Get the current render clock for the CometActor

    Definition Classes
    BaseCometActor
  92. def reply(v: Any): Unit

    Permalink

    The Actor should call this method with a reply to the message

    The Actor should call this method with a reply to the message

    Attributes
    protected
    Definition Classes
    LiftActorForwardableActor
  93. def reportError(msg: String, exception: Exception): Unit

    Permalink

    How to report an error that occurs during message dispatch

    How to report an error that occurs during message dispatch

    Attributes
    protected
    Definition Classes
    BaseCometActor
  94. def running: Boolean

    Permalink

    Is the CometActor running?

    Is the CometActor running?

    Attributes
    protected
    Definition Classes
    BaseCometActor
  95. def send(msg: Any): Unit

    Permalink

    Send a message to the Actor.

    Send a message to the Actor. This call will always succeed and return almost immediately. The message will be processed asynchronously. This is a Java-callable alias for !.

    Definition Classes
    SpecializedLiftActor
  96. def sendAndGetFuture(msg: Any): LAFuture[Any]

    Permalink

    Send a message to the Actor and get an LAFuture that will contain the reply (if any) from the message.

    Send a message to the Actor and get an LAFuture that will contain the reply (if any) from the message. This method calls !< and is here for Java compatibility.

    Definition Classes
    LiftActor
  97. def sendAndGetReply(timeout: Long, msg: Any): Any

    Permalink

    Send a message to the Actor and wait for up to timeout milliseconds for the actor to process the message and reply.

    Send a message to the Actor and wait for up to timeout milliseconds for the actor to process the message and reply. This method is the Java callable version of !?.

    Definition Classes
    LiftActor
  98. def sendAndGetReply(msg: Any): Any

    Permalink

    Send a message to the Actor and wait for the actor to process the message and reply.

    Send a message to the Actor and wait for the actor to process the message and reply. This method is the Java callable version of !?.

    Definition Classes
    LiftActor
  99. def sendInitialReq_?: Boolean

    Permalink

    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.

    Definition Classes
    LiftCometActor
  100. def startQuestion(what: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    BaseCometActor
  101. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  102. def testTranslate(f: (Any) ⇒ Boolean)(v: Any): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    LiftActorSpecializedLiftActor
  103. def theSession: LiftSession

    Permalink
    Definition Classes
    BaseCometActor
  104. def theType: Box[String]

    Permalink

    The optional type of this CometActor

    The optional type of this CometActor

    Definition Classes
    BaseCometActorLiftCometActor
  105. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  106. def unWatch: Unit

    Permalink
    Definition Classes
    BaseCometActor
  107. val uniqueId: String

    Permalink
    Definition Classes
    BaseCometActorLiftCometActor
  108. def unregisterFromAllDependencies(): Unit

    Permalink

    Remove from all dependencies

    Remove from all dependencies

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  112. def warning(id: String, n: String): Unit

    Permalink

    Similar with S.warning

    Similar with S.warning

    Definition Classes
    BaseCometActor
  113. def warning(id: String, n: NodeSeq): Unit

    Permalink

    Similar with S.warning

    Similar with S.warning

    Definition Classes
    BaseCometActor
  114. def warning(n: NodeSeq): Unit

    Permalink

    Similar with S.warning

    Similar with S.warning

    Definition Classes
    BaseCometActor
  115. def warning(n: String): Unit

    Permalink

    Similar with S.warning

    Similar with S.warning

    Definition Classes
    BaseCometActor
  116. def whoDoIDependOn: Seq[Cell[_]]

    Permalink

    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
  117. def youDependOnMe(who: Cell[_]): Unit

    Permalink

    The Cell notifies the Dependent of the dependency

    The Cell notifies the Dependent of the dependency

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

    Permalink

    The Cell notifies the Dependent of the removed dependency

    The Cell notifies the Dependent of the removed dependency

    Definition Classes
    Dependent

Inherited from MessageCometActor

Inherited from BaseCometActor

Inherited from CssBindImplicits

Inherited from LiftCometActor

Inherited from Dependent

Inherited from LiftActor

Inherited from ForwardableActor[Any, Any]

Inherited from GenericActor[Any]

Inherited from TypedActor[Any, Any]

Inherited from SpecializedLiftActor[Any]

Inherited from SimpleActor[Any]

Inherited from AnyRef

Inherited from Any

Ungrouped