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 w w. j a va 2 s. c om import org.stofkat.chat.common.actions.UpdateAction; import com.badlogic.gdx.utils.Timer.Task; public class UpdateTask extends Task { private ServerInterface server; public UpdateTask(ServerInterface server) { this.server = server; } @Override public void run() { server.executeServerAction(new UpdateAction(server.getLastChatMessageId())); } }