inf1010.pusle.chat.client
Interface ChatListener

All Known Implementing Classes:
ChatClient, ChatFrame

public interface ChatListener

An interface for classes capable of handling chat messages.


Method Summary
 boolean handleMessage(Message m)
          Handle a packet that was received.
 

Method Detail

handleMessage

boolean handleMessage(Message m)
                      throws java.io.IOException
Handle a packet that was received.

Parameters:
m - the packet that was received.
Returns:
true if the packet was handled, false if it should be sent to the other listeners.
Throws:
java.io.IOException