com.zerjio.JIRC
Interface ErrorListener


public interface ErrorListener

The basic interface for a ErrorMessage listener.


Method Summary
 void ErrorReceived(ErrorMessage msg)
          This method should take care about an ErrorMessage that has been generated.
 

Method Detail

ErrorReceived

public void ErrorReceived(ErrorMessage msg)
This method should take care about an ErrorMessage that has been generated.

It should mark the message as used using IRCMessage.markAsUsed() in case that the information on the message has been used in any form. It is also responsible of using IRCMessage.mustBeDiscarded() if no other listener should get noticed about this message.

Parameters:
msg - The ErrorMessage that has been received.
See Also:
markAsUsed, mustBeDiscarded