@@ -0,0 +1,438 @@
+import java.io.*;%0A%0Apublic class ChatMessage implements Serializable %7B%0A%0A%09protected static final long serialVersionUID = 1112122200L;%0A%0A%09%0A%09static final int WHOISIN = 0, MESSAGE = 1, LOGOUT = 2;%0A%09private int type;%0A%09private String message;%0A%09%0A%09// constructor%0A%09ChatMessage(int type, String message) %7B%0A%09%09this.type = type;%0A%09%09this.message = message;%0A%09%7D%0A%09%0A%09// getters%0A%09int getType() %7B%0A%09%09return type;%0A%09%7D%0A%09String getMessage() %7B%0A%09%09return message;%0A%09%7D%0A%7D%0A

this file is basic