import com.donovan.annotation.EventHandler; import com.donovan.core.Donovan; public class MyApp { public static void main(String[] args) { Donovan donovan = new Donovan(); donovan.register(new EventHandlerImpl()); donovan.start(); } } public class EventHandlerImpl { @EventHandler public void onEvent(Event event) { } } public class Event { } thread_pool_size=10 max_connections=100


上一篇:
下一篇:
切换中文