net.mlw.gfw.ext.basic.event
Class ChatEvent

java.lang.Object
  |
  +--net.mlw.gfw.ext.basic.event.ChatEvent
All Implemented Interfaces:
Event, java.io.Serializable

public class ChatEvent
extends java.lang.Object
implements Event

Chat from a client.

Version:
$Revision: 1.2 $ $Date: 2004/06/29 20:32:56 $
Author:
Matthew L. Wilson
See Also:
Serialized Form

Constructor Summary
ChatEvent(java.lang.String userName, java.lang.String text)
          Default constructor.
 
Method Summary
 java.lang.String getText()
          Gets the text of the event.
 java.lang.String getUserName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChatEvent

public ChatEvent(java.lang.String userName,
                 java.lang.String text)
Default constructor.

Parameters:
text - The message.
Method Detail

getText

public java.lang.String getText()
Gets the text of the event.

Returns:
Returns the text.

getUserName

public java.lang.String getUserName()
Returns:
Returns the userName.


Copyright © 2003-2004 mlavilson. All Rights Reserved.