org.semispace.actor.example
Class PongActor

java.lang.Object
  extended by org.semispace.actor.Actor
      extended by org.semispace.actor.example.PongActor

public class PongActor
extends Actor


Constructor Summary
PongActor(SemiSpaceInterface space)
           
 
Method Summary
 int getPongCount()
           
 Object[] getReadTemplates()
           
 Object[] getTakeTemplates()
           
 void receive(ActorMessage msg)
           
 
Methods inherited from class org.semispace.actor.Actor
getActorId, getDefaultLifeMsOfSpaceObject, register, register, send, send, setDefaultLifeMsOfSpaceObject, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PongActor

public PongActor(SemiSpaceInterface space)
Method Detail

getPongCount

public int getPongCount()

receive

public void receive(ActorMessage msg)
Specified by:
receive in class Actor

getReadTemplates

public Object[] getReadTemplates()
Overrides:
getReadTemplates in class Actor

getTakeTemplates

public Object[] getTakeTemplates()
Overrides:
getTakeTemplates in class Actor


Copyright © 2008-2012. All Rights Reserved.