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.common.actions; // w ww. ja va2 s .com import org.stofkat.chat.common.results.ChatResult; public class UpdateAction implements Action<ChatResult> { private static final long serialVersionUID = 1L; private int lastReceivedChatMessageId; /** * We need this empty constructor to be able to transmit this object via GWT RPC. */ public UpdateAction() {} public UpdateAction(int lastReceivedChatMessageId) { this.lastReceivedChatMessageId = lastReceivedChatMessageId; } public int getLastReceivedChatMessageId() { return lastReceivedChatMessageId; } public void setLastReceivedChatMessageId(int lastReceivedChatMessageId) { this.lastReceivedChatMessageId = lastReceivedChatMessageId; } }