1 /*****************************************************/
\r
2 /* This java file is a part of the */
\r
4 /* - Plouf's Java IRC Client - */
\r
6 /* Copyright (C) 2002 - 2004 Philippe Detournay */
\r
8 /* All contacts : theplouf@yahoo.com */
\r
10 /* PJIRC is free software; you can redistribute */
\r
11 /* it and/or modify it under the terms of the GNU */
\r
12 /* General Public License as published by the */
\r
13 /* Free Software Foundation; version 2 or later of */
\r
16 /* PJIRC is distributed in the hope that it will */
\r
17 /* be useful, but WITHOUT ANY WARRANTY; without */
\r
18 /* even the implied warranty of MERCHANTABILITY or */
\r
19 /* FITNESS FOR A PARTICULAR PURPOSE. See the GNU */
\r
20 /* General Public License for more details. */
\r
22 /* You should have received a copy of the GNU */
\r
23 /* General Public License along with PJIRC; if */
\r
24 /* not, write to the Free Software Foundation, */
\r
25 /* Inc., 59 Temple Place, Suite 330, Boston, */
\r
26 /* MA 02111-1307 USA */
\r
28 /*****************************************************/
\r
33 * Channel listener. Use ChannelListener2 instead.
\r
35 public interface ChannelListener extends SourceListener {
\r
37 * The channel has changed all its nick list.
\r
46 public void nickSet(String nicks[], String modes[], Channel channel);
\r
49 * A new nick has joined.
\r
52 * the nick who joined.
\r
58 public void nickJoin(String nick, String mode, Channel channel);
\r
64 * the nick who quit.
\r
70 public void nickQuit(String nick, String reason, Channel channel);
\r
76 * the nick who part.
\r
82 public void nickPart(String nick, String reason, Channel channel);
\r
85 * A nick has been kicked.
\r
88 * the nick who has been kicked.
\r
90 * the nick who kicked.
\r
96 public void nickKick(String nick, String by, String reason, Channel channel);
\r
99 * The topic has been changed.
\r
104 * user who changed topic.
\r
108 public void topicChanged(String topic, String by, Channel channel);
\r
111 * Channel mode applied.
\r
116 * user who applied mode.
\r
120 public void modeApply(String mode, String from, Channel channel);
\r
123 * Nick mode applied.
\r
126 * user on wich mode applied.
\r
130 * user who applied mode.
\r
134 public void nickModeApply(String nick, String mode, String from, Channel channel);
\r
146 public void nickChanged(String oldNick, String newNick, Channel channel);
\r
149 * Whois bufferised information has been updated.
\r
152 * nick on wich new whois information is available.
\r
154 * whois string for nick.
\r
158 public void nickWhoisUpdated(String nick, String whois, Channel channel);
\r