de.kosi.chat
Class LeaveChatEvent

java.lang.Object
  |
  +--de.kosi.chat.ChatEvent
        |
        +--de.kosi.chat.LeaveChatEvent
All Implemented Interfaces:
java.io.Serializable

public class LeaveChatEvent
extends ChatEvent

This event occurs on a chat channel if a user leaves it. This event contains a String to describe the reason for leaving.

ChangeLog:

 $Log: LeaveChatEvent.java,v $
 Revision 1.1.1.1  2001/04/29 18:05:16  jiriki
 Imported sources from zola.

 Revision 1.4  2001/03/18 17:32:03  wombat
 Changed database concept

 Revision 1.3  2001/02/09 21:09:05  login
 - updated documentation !!


 

Version:
$Revision: 1.1.1.1 $ ($Date: 2001/04/29 18:05:16 $)
Author:
Timo, Niklas, Ole
See Also:
Serialized Form

Constructor Summary
LeaveChatEvent(java.lang.String u, java.lang.String r)
          Creates a LeaveChatEvent if user u left the channel for reason r.
 
Method Summary
 java.lang.String getReason()
          Returns the reason for which the channel was left by the user.
 java.lang.String getUser()
          Returns the user who left the channel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeaveChatEvent

public LeaveChatEvent(java.lang.String u,
                      java.lang.String r)
Creates a LeaveChatEvent if user u left the channel for reason r.
Parameters:
u - The user who left the channel.
r - The reason for that the user left the channel.
Method Detail

getUser

public java.lang.String getUser()
Returns the user who left the channel.
Returns:
The user who left the channel.

getReason

public java.lang.String getReason()
Returns the reason for which the channel was left by the user.
Returns:
The reason for which the channel was left by the user.