org.semispace.googled.external
Class TokenProxyActor
java.lang.Object
org.semispace.actor.Actor
org.semispace.googled.external.TokenProxyActor
public class TokenProxyActor
- extends Actor
Method Summary |
Object[] |
getTakeTemplates()
Default implementation which renders an empty array, ie nothing is
tried taken. |
void |
receive(ActorMessage msg)
Receive a message which either matches the template, or that is addressed to
this actor in particular (which implies that you need to check the type
for each message). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TokenProxyActor
public TokenProxyActor(SemiSpaceTokenProxy tokenSpace)
receive
public void receive(ActorMessage msg)
- Description copied from class:
Actor
- Receive a message which either matches the template, or that is addressed to
this actor in particular (which implies that you need to check the type
for each message).
- Specified by:
receive
in class Actor
getTakeTemplates
public Object[] getTakeTemplates()
- Description copied from class:
Actor
- Default implementation which renders an empty array, ie nothing is
tried taken. Exchange with relevant elements.
Object are tried taken from the space. Observe that
the object taken is the one that fits the template, and not
necessarily the one which triggered the event.
- Overrides:
getTakeTemplates
in class Actor
Copyright © 2008-2012. All Rights Reserved.