Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
C
E
F
G
H
I
L
M
N
P
R
S
T
U
W
C
Client
- package Client
Client
- Class in
main
GUI chat client runner.
Client()
- Constructor for class main.
Client
ClientModel
- Class in
Client
The ClientModel does not have any race conditions because any method that changes the model state is synchronized.
ClientModel(String, int)
- Constructor for class Client.
ClientModel
ClientModel()
- Constructor for class Client.
ClientModel
Constructor used when the default localhost and port is used
ClientModel(boolean)
- Constructor for class Client.
ClientModel
Constructor only used in testing Not calling the view at all at this stage The only difference is that the testing constructor does not call the background thread responsible for calling the ClientView.
ClientModel(String, int, boolean)
- Constructor for class Client.
ClientModel
For testing whether the server is connected to a correct connection.
ClientModel.ClientRunnable
- Class in
Client
Class for creating the background thread.
ClientModel.ClientRunnable(Socket, ClientView)
- Constructor for class Client.
ClientModel.ClientRunnable
ClientModel.ServerOutputThread
- Class in
Client
This class is used to get the outputs from the server when given certain inputs.
ClientModel.ServerOutputThread(Socket)
- Constructor for class Client.
ClientModel.ServerOutputThread
ClientModelTest
- Class in
Client
The ClientModelTest will test all methods of the model assuming that the server is working correctly.
ClientModelTest()
- Constructor for class Client.
ClientModelTest
ClientView
- Class in
Client
Class which manages the GUI for the chat client.
ClientView(ClientModel)
- Constructor for class Client.
ClientView
Instantiate a new ClientView.
colorate(String)
- Static method in class Client.
Statement
Hashes the input string, and returns the input string surrounded by html to make it a random color determined by the hash.
connect()
- Static method in class Server.
ServerTest
Socket connecting code from Minesweeper lab (no need to rewrite it!
Conversation
- Class in
Server
Conversation(User, Server)
- Constructor for class Server.
Conversation
ConversationPane
- Class in
Client
Manages a JPanel representing a single conversation tab.
ConversationPane(ClientView, String)
- Constructor for class Client.
ConversationPane
Construct a new ConversationPane.
ConversationPane(ClientView, String, String)
- Constructor for class Client.
ConversationPane
For when another user has invited you to a chat.
convoID
- Static variable in class Client.
ClientModelTest
convTable
- Variable in class main.
Server
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
C
E
F
G
H
I
L
M
N
P
R
S
T
U
W