abstract class LiftActorJWithListenerManager extends LiftActorJ with ListenerManager
A LiftActorJ with ListenerManager. Subclass this class to get a Java-usable LiftActorJ with ListenerManager
- Alphabetic
- By Inheritance
- LiftActorJWithListenerManager
- ListenerManager
- LiftActorJ
- LiftActor
- ForwardableActor
- GenericActor
- TypedActor
- SpecializedLiftActor
- SimpleActor
- JavaActorBase
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new LiftActorJWithListenerManager()
Abstract Value Members
-
abstract
def
createUpdate: Any
This method is called when the
updateListeners()
method needs a message to send to subscribed Actors.This method is called when the
updateListeners()
method needs a message to send to subscribed Actors. In particular, createUpdate is used to create the first message that a newly subscribed CometListener will receive.updateListeners() needs a message to send to subscribed Actors. In particular, createUpdate is used to create the first message that a newly subscribed CometListener will receive.
- Attributes
- protected
- Definition Classes
- ListenerManager
Concrete Value Members
-
def
!(msg: Any): Unit
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
- SpecializedLiftActor → SimpleActor
-
def
!!(msg: Any): Box[Any]
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
- LiftActor → TypedActor
-
def
!!(msg: Any, timeout: Long): Box[Any]
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
- LiftActor → TypedActor
-
def
!<(msg: Any): LAFuture[Any]
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
!?(timeout: Long, message: Any): Box[Any]
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
- LiftActor → TypedActor
-
def
!?(msg: Any): Any
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
- LiftActor → TypedActor
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
lazy val
_messageHandler: PartialFunction[Any, Unit]
- Attributes
- protected
- Definition Classes
- LiftActorJ
-
def
around[R](f: ⇒ R): R
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
-
def
aroundLoans: List[CommonLoanWrapper]
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
calculateJavaMessageHandler: PartialFunction[Any, Unit]
- Attributes
- protected
- Definition Classes
- LiftActorJ
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
exceptionHandler: PartialFunction[Throwable, Unit]
- Attributes
- protected
- Definition Classes
- SpecializedLiftActor
-
def
execTranslate(f: (Any) ⇒ Unit)(v: Any): Unit
- Attributes
- protected
- Definition Classes
- LiftActor → SpecializedLiftActor
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
forwardMessageTo(msg: Any, forwardTo: TypedActor[Any, Any]): Unit
- Attributes
- protected
- Definition Classes
- LiftActor → ForwardableActor
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
highPriority: PartialFunction[Any, Unit]
Override this method to process high priority messages.
Override this method to process high priority messages. Note: you must not process messages with a wildcard (match all), since this will intercept the messages used for subscription control.
- Attributes
- protected
- Definition Classes
- ListenerManager
-
def
highPriorityReceive: Box[PartialFunction[Any, Unit]]
- Attributes
- protected
- Definition Classes
- SpecializedLiftActor
-
def
insertMsgAtHeadOfQueue_!(msg: Any): Unit
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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
listenerService: PartialFunction[Any, Unit]
- Attributes
- protected
- Definition Classes
- ListenerManager
-
def
lowPriority: PartialFunction[Any, Unit]
Override this method to process low priority messages.
Override this method to process low priority messages.
- Attributes
- protected
- Definition Classes
- ListenerManager
-
def
mediumPriority: PartialFunction[Any, Unit]
Override this method to process medium priority messages.
Override this method to process medium priority messages. See the highPriority method for an important note on wildcard processing.
- Attributes
- protected
- Definition Classes
- ListenerManager
- See also
#highPriority
-
def
messageHandler: PartialFunction[Any, Unit]
- Attributes
- protected
- Definition Classes
- LiftActorJWithListenerManager → ListenerManager → LiftActorJ → SpecializedLiftActor
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
onListenersListEmptied(): Unit
Called after RemoveAListener-message is processed and no more listeners exist.
Called after RemoveAListener-message is processed and no more listeners exist. Default does nothing.
- Attributes
- protected
- Definition Classes
- ListenerManager
-
def
reply(v: Any): Unit
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
- LiftActor → ForwardableActor
-
def
send(msg: Any): Unit
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
-
def
sendAndGetFuture(msg: Any): LAFuture[Any]
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
-
def
sendAndGetReply(timeout: Long, msg: Any): Any
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
-
def
sendAndGetReply(msg: Any): Any
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
-
def
sendListenersMessage(msg: Any): Unit
Send a message we create to all of the listeners.
Send a message we create to all of the listeners. Note that with this invocation the createUpdate method is not used.
- Attributes
- protected
- Definition Classes
- ListenerManager
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
testTranslate(f: (Any) ⇒ Boolean)(v: Any): Boolean
- Attributes
- protected
- Definition Classes
- LiftActor → SpecializedLiftActor
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
updateListeners(listeners: List[ActorTest] = listeners): Unit
Update the listeners with the message generated by createUpdate
Update the listeners with the message generated by createUpdate
- Attributes
- protected
- Definition Classes
- ListenerManager
-
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( ... )