package rpicq; /** * This is a wrapper object around a message. * It doesn't do anything except make the MessageListener/MessageEvent * structure look good. * If you want to extend the project to allow multiple data types, this is * where to do it. * * @version 1 * @author JJ Johns **/ public class MessageEvent { private String text; /** * Single Constructor that takes the text of the message. **/ public MessageEvent(String message) { text = message; } /** * Get's the text from the message. **/ public String getText() { return text; } }