Renamed 'GenericListener' to 'ServerListener'.

fix-message-formatting
Danny van Heumen 12 years ago
parent 2a92b93693
commit efbb1cf718

@ -77,7 +77,7 @@ public void connect(String host, int port, String password,
this.params.setServer(new IRCServer(host, port, password, false));
synchronized (this.irc)
{
this.irc.addListener(new GenericListener(this.joined));
this.irc.addListener(new ServerListener(this.joined));
// start connecting to the specified server ...
this.irc.connect(this.params, new Callback<IIRCState>()
{

@ -9,12 +9,12 @@
import com.ircclouds.irc.api.domain.messages.*;
import com.ircclouds.irc.api.listeners.*;
public class GenericListener
public class ServerListener
extends VariousMessageListenerAdapter
{
private final List<ChatRoomIrcImpl> channels;
public GenericListener(List<ChatRoomIrcImpl> joinedChannels)
public ServerListener(List<ChatRoomIrcImpl> joinedChannels)
{
this.channels = joinedChannels;
}
Loading…
Cancel
Save