edu.rit.chat2
Interface ChatFrameListener

All Known Implementing Classes:
Chat

public interface ChatFrameListener

Interface ChatFrameListener specifies the interface for an object that is triggered by user input in a ChatFrame.


Method Summary
 void newChatRoom()
          Report that the user wants to create a new chat room.
 void send(String line)
          Process the given line of text entered by the user.
 void setChatRoom(int i)
          Report that the user selected the given chat room.
 

Method Detail

newChatRoom

void newChatRoom()
Report that the user wants to create a new chat room.


setChatRoom

void setChatRoom(int i)
Report that the user selected the given chat room.

Parameters:
i - Chat room index.

send

void send(String line)
Process the given line of text entered by the user.

Parameters:
line - Line of text.


Copyright © 2001-2006 by Alan Kaminsky. All rights reserved. Send comments to ark­@­cs.rit.edu.