|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaa.core.Actor
aa.application.Fibonacci.FibActor
This class represents the fibonacci example actor.
Field Summary | |
(package private) ActorName |
client
The first response we have received from a child fib actor. |
(package private) java.lang.String |
meth
|
(package private) int |
numResponses
|
(package private) int |
partialResponse
|
Fields inherited from class aa.core.Actor |
m_athread |
Constructor Summary | |
FibActor()
Creates a new instance of FibActor |
|
FibActor(ActorName p_anClient,
java.lang.String p_strMeth)
|
Method Summary | |
void |
fib(java.lang.Integer p_intVal,
ActorName p_anClient,
java.lang.String p_strMeth)
This method is called by a client to request a fib computation. |
void |
result(java.lang.Integer p_intVal)
This method is called from another child actor to pass a partial result. |
Methods inherited from class aa.core.Actor |
become, become, become, become, become, become, become, become, become, become, become, becomeActor, call, call, call, call, call, call, call, call, call, call, call, callMessage, create, create, create, create, create, create, create, create, create, create, create, createActor, createRemote, createRemote, createRemote, createRemote, createRemote, createRemote, createRemote, createRemote, createRemote, createRemote, createRemote, createRemoteActor, destroy, echo, getActorName, getDefaultDirectoryManager, getDefaultDirectoryManager, getLastErrorMessage, migrate, print, printLastErrorMessage, println, send, send, send, send, send, send, send, send, send, send, send, sendMessage, setErrorMessage, uninit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
int numResponses
int partialResponse
ActorName client
java.lang.String meth
Constructor Detail |
public FibActor()
public FibActor(ActorName p_anClient, java.lang.String p_strMeth)
Method Detail |
public void fib(java.lang.Integer p_intVal, ActorName p_anClient, java.lang.String p_strMeth)
public void result(java.lang.Integer p_intVal)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |