use of org.aion.evtmgr.impl.evt.EventDummy in project aion by aionnetwork.
the class EventExecuteService method shutdown.
public void shutdown() {
callbackEvt.clear();
callbackEvt.add(new EventDummy());
es.shutdown();
}
use of org.aion.evtmgr.impl.evt.EventDummy in project aion by aionnetwork.
the class EventMgrA0Test method testNewEvent.
@Test
public void testNewEvent() {
EventMgrA0 testManager = new EventMgrA0(properties);
boolean res = testManager.newEvent(new EventDummy());
assertTrue(res);
boolean res2 = testManager.newEvent(new EventBlock(EventBlock.CALLBACK.ONBLOCK0));
assertTrue(res2);
}
Aggregations