public class MyMessage implements java.io.Serializable { public String message; public String author; public MyMessage(String _msg, String _author) { message = _msg; author = _author; } }