com.hammurapi.eventbus.tests
Class HelperHandler2
java.lang.Object
com.hammurapi.eventbus.tests.HelperHandler2
public class HelperHandler2
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HelperHandler2
public HelperHandler2()
getWorldCounter
public int getWorldCounter()
isWorldOk
public boolean isWorldOk()
getEmCounter
public int getEmCounter()
isEmOk
public boolean isEmOk()
handleWorld
public void handleWorld(AtomicReference<String> strRef)
handleEm
public void handleEm(AtomicReference<String> strRef)
isJoinOk
public boolean isJoinOk()
getJoinCounter
public int getJoinCounter()
join
public void join(LocalEventDispatchJoinContext<Object,Integer,Object> context,
String hello,
AtomicReference<String> worldRef)
- Updates world to ! when Hello is posted.
- Parameters:
context - hello - worldRef - i -