|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ActorRef | |
|---|---|
| net.ninjacat.drama | Classes for Drama Actor library |
| Uses of ActorRef in net.ninjacat.drama |
|---|
| Methods in net.ninjacat.drama that return ActorRef | ||
|---|---|---|
|
ActorSystem.createActor(Class<T> actorType)
Creates actor with default name. |
|
|
ActorSystem.createActor(Class<T> actorType,
String name)
Creates actor with supplied name. |
|
|
ActorSystem.createActor(Class<T> actorType,
String name,
Object... parameters)
Creates actor with supplied name. Actor must define a constructor with a list of parameters matching list of this method parameters |
|
ActorRef |
Actor.getSelf()
|
|
| Methods in net.ninjacat.drama that return types with arguments of type ActorRef | |
|---|---|
Option<ActorRef> |
ActorSystem.find(String name)
Searches for an actor by its name |
| Methods in net.ninjacat.drama with parameters of type ActorRef | |
|---|---|
void |
Actor.onSystemMessage(ActorRef sender,
SystemMessage message)
|
void |
ActorRef.tell(Object message,
ActorRef sender)
Send a message to an actor represented by this reference |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||