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
- All
Abstract Value Members
-
abstract
def
!(param: Any): Unit
Send a message to the Actor
-
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 occuredEmpty
orFailure
.- Definition Classes
- TypedActor
-
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 occuredEmpty
orFailure
.- Definition Classes
- TypedActor
-
abstract
def
!?(timeout: Long, message: Any): Box[Any]
Compatible with Scala actors'
!?
method, sends the givenmessage
to this actor and waits up totimeout
for a reply, returningEmpty
orFailure
if no reply is received by then.Compatible with Scala actors'
!?
method, sends the givenmessage
to this actor and waits up totimeout
for a reply, returningEmpty
orFailure
if no reply is received by then.- Definition Classes
- TypedActor
-
abstract
def
!?(message: Any): Any
Compatible with Scala actors'
!?
method, sends the givenmessage
to this actor and waits infinitely for a reply.Compatible with Scala actors'
!?
method, sends the givenmessage
to this actor and waits infinitely for a reply.- 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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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#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") }
-
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#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>) }
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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
Remove from all dependencies
Remove from all dependencies
- Attributes
- protected
- Definition Classes
- Dependent
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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
-
def
youDependOnMe(who: Cell[_]): Unit
The Cell notifies the Dependent of the dependency
The Cell notifies the Dependent of the dependency
- Definition Classes
- Dependent
-
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