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.core; //from w ww. ja v a 2 s . c om import org.stofkat.chat.common.actions.Action; import org.stofkat.chat.common.results.Result; public interface ServerInterface { <R extends Result> void executeServerAction(Action<R> action); int getLastChatMessageId(); /** * When posting a chat message, you get new chat updates in the result. * There's also a timer that gets updates every few seconds. * * To avoid getting stuff twice, you should pause the timer when posting * a chat message. */ void pauseTimerBecauseWereGonnaUpdate(); }