swpchat.protocol
Interface DisplayForIncomingMessages

All Known Implementing Classes:
Chatbox

public interface DisplayForIncomingMessages


Method Summary
 void displayMessage(java.lang.String channel, java.lang.String from, java.lang.String message)
          Display a text message in some appropriate way.
 void displayPlayMessage(java.lang.String channel, java.lang.String from, java.lang.String message)
          Display a text that represend a sound is not able to play.
 

Method Detail

displayMessage

public void displayMessage(java.lang.String channel,
                           java.lang.String from,
                           java.lang.String message)
Display a text message in some appropriate way.
Parameters:
from - Name of the sender of the message
message - *The content of the text message.

displayPlayMessage

public void displayPlayMessage(java.lang.String channel,
                               java.lang.String from,
                               java.lang.String message)
Display a text that represend a sound is not able to play.
Parameters:
from - Name of the sender of the message
message - *The content of the text message.