public class Actor<SELF extends Actor> extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
__isSeq |
Actor |
__self |
Actor |
__seq |
protected ConcurrentHashMap<String,Method> |
methodCache |
| Constructor and Description |
|---|
Actor()
required by bytecode magic.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
__dispatchCall(Actor receiver,
String methodName,
Object[] args) |
void |
__dispatcher(DispatcherThread d) |
SELF |
$() |
static Message |
currentMsg() |
static MessageSequence |
currentSequence() |
void |
executeInActorThread(ActorRunnable toRun,
Callback cb) |
SELF |
getActor() |
protected Object |
getActorAccess() |
DispatcherThread |
getDispatcher() |
ActorProxyFactory |
getFactory() |
boolean |
isProxy() |
static Message |
msg(Future call) |
protected SELF |
self()
use this to call public methods using actor-dispatch instead of direct in-thread call.
|
static MessageSequence |
seq(Future... calls) |
void |
stop()
stop receiving events.
|
protected Future<Future[]> |
yield(Future... futures) |
public Actor __self
public Actor __seq
public boolean __isSeq
protected ConcurrentHashMap<String,Method> methodCache
public Actor()
public static MessageSequence currentSequence()
public static Message currentMsg()
public static MessageSequence seq(Future... calls)
public DispatcherThread getDispatcher()
protected SELF self()
public SELF $()
public ActorProxyFactory getFactory()
public SELF getActor()
public void stop()
public void executeInActorThread(ActorRunnable toRun, Callback cb)
protected Object getActorAccess()
public boolean isProxy()
public void __dispatcher(DispatcherThread d)
Copyright © 2014. All rights reserved.