org.relayirc.chatengine
Interface ChatEngineListener

All Known Implementing Classes:
ChatEngineAdapter, ChatApp

public interface ChatEngineListener

Implement this interface to listen for server connection and disconnection, channel joins and parts and status messages.


Method Summary
 void onChannelJoin(ChatEngineEvent event)
          User has joined a channel.
 void onChannelPart(ChatEngineEvent event)
          User has parted from a channel.
 void onConnection(ChatEngineEvent event)
          Engine has connected to IRC server.
 void onDisconnection(ChatEngineEvent event)
          Engine has disconnected from IRC server.
 void onStatus(ChatEngineEvent event)
          Status message from engine.
 

Method Detail

onConnection

public void onConnection(ChatEngineEvent event)
Engine has connected to IRC server.

onDisconnection

public void onDisconnection(ChatEngineEvent event)
Engine has disconnected from IRC server.

onChannelJoin

public void onChannelJoin(ChatEngineEvent event)
User has joined a channel. Event's value will be name of channel.

onChannelPart

public void onChannelPart(ChatEngineEvent event)
User has parted from a channel.

onStatus

public void onStatus(ChatEngineEvent event)
Status message from engine.