Back to project page libgdx-chat-example.
The source code is released under:
Apache License
If you think the Android project libgdx-chat-example listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.stofkat.chat.server; // w w w.j a v a 2 s . c om import org.stofkat.chat.common.actions.Action; import org.stofkat.chat.common.results.Result; public interface ActionHandlerRegistry { /** * Searches the registry and returns the first handler which supports the * specied action, or <code>null</code> if none is available. * * @param action * The action. * @return The handler. */ public <A extends Action<R>, R extends Result> ActionHandler<A, R> findHandler(A action); /** * Clears all registered handlers from the registry. */ public void clearHandlers(); }