Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
M
R
S
A
addClient(ChatClientInterface)
- Method in class rmi.
ChatClient
Adds client, displaying some info about the new client.
addClient(ChatClientInterface)
- Method in class rmi.
ChatParticipant
Adds client.
addClient(ChatClientInterface)
- Method in interface rmi.
ChatParticipantInterface
Adds client.
addClient(ChatClientInterface)
- Method in class rmi.
ChatServer
Adds client, printing some info to standard output and telling all previous clients to add this one.
B
broadcast(String)
- Method in class rmi.
ChatParticipant
Sends message to all clients.
broadcast(String)
- Method in interface rmi.
ChatParticipantInterface
Sends message to all clients.
broadcast(String)
- Method in class rmi.
ChatServer
Sends message to all clients.
C
ChatClient
- Class in
rmi
Class for client for simple chat program.
ChatClient(String, String, ChatClientUI)
- Constructor for class rmi.
ChatClient
Constructs client object, querying server for a list of other clients and displaying this information.
ChatClientGUI
- Class in
rmi
Class for GUI for clients in simple chat application.
ChatClientGUI(String, String)
- Constructor for class rmi.
ChatClientGUI
Constructs object -- builds GUI, but does not make it visible.
ChatClientInterface
- Interface in
rmi
Interface for clients in simple chat application.
ChatClientOutput
- Class in
rmi
Class for output-only interface for client, demonstrating an alternative UI (though not a very useful one).
ChatClientOutput(String, String)
- Constructor for class rmi.
ChatClientOutput
Constructs object.
ChatClientUI
- Interface in
rmi
Interface for clients UIs in simple chat application.
ChatParticipant
- Class in
rmi
Class for participants in simple chat application.
ChatParticipant()
- Constructor for class rmi.
ChatParticipant
Constructs object.
ChatParticipantInterface
- Interface in
rmi
Interface for participants (server and clients) in simple chat application.
ChatServer
- Class in
rmi
Class for server for simple chat program (with instructions for running the application).
ChatServer()
- Constructor for class rmi.
ChatServer
Constructs server object.
ChatServerInterface
- Interface in
rmi
Interface for server in simple chat application.
clients
- Variable in class rmi.
ChatParticipant
D
display(String)
- Method in class rmi.
ChatClient
Displays message, using whatever method is provided by the user interface for the client.
display(String)
- Method in interface rmi.
ChatParticipantInterface
Displays message.
display(String)
- Method in class rmi.
ChatServer
Displays message.
displayMessage(String)
- Method in class rmi.
ChatClientGUI
Displays message received by chat client.
displayMessage(String)
- Method in class rmi.
ChatClientOutput
Displays message received by chat client.
displayMessage(String)
- Method in interface rmi.
ChatClientUI
Displays message received by chat client.
doSomeStuff()
- Method in class rmi.
ChatClientOutput
Broadcasts a few messages and shuts down.
E
errorPrefix
- Static variable in class rmi.
ChatParticipant
Prefix for error messages.
G
getAddress()
- Method in class rmi.
ChatClient
Gets client's hostname/IPA.
getAddress()
- Method in interface rmi.
ChatClientInterface
Gets client's hostname/IPA.
getClients()
- Method in class rmi.
ChatServer
Gets a list of clients.
getClients()
- Method in interface rmi.
ChatServerInterface
Gets a list of clients.
getMessagePrefix()
- Method in class rmi.
ChatClient
Gets prefix for messages broadcast by this object.
getMessagePrefix()
- Method in class rmi.
ChatParticipant
Gets prefix for messages broadcast by this object.
getMessagePrefix()
- Method in class rmi.
ChatServer
Gets prefix for messages broadcast by this object.
getScreenName()
- Method in class rmi.
ChatClient
Gets client's screen name.
getScreenName()
- Method in interface rmi.
ChatClientInterface
Gets client's screen name.
M
main(String[])
- Static method in class rmi.
ChatClientGUI
Main program -- constructs an object and starts it up.
main(String[])
- Static method in class rmi.
ChatClientOutput
Main program -- constructs an object and starts it up.
main(String[])
- Static method in class rmi.
ChatServer
Main program -- creates a server object and registers it.
R
removeClient(ChatClientInterface)
- Method in class rmi.
ChatClient
Removes client, displaying some info about it.
removeClient(ChatClientInterface)
- Method in class rmi.
ChatParticipant
Removes client.
removeClient(ChatClientInterface)
- Method in interface rmi.
ChatParticipantInterface
Removes client.
removeClient(ChatClientInterface)
- Method in class rmi.
ChatServer
Removes client, printing some info to standard output and telling all other clients to remove this one.
rmi
- package rmi
S
serverPrefix
- Static variable in class rmi.
ChatParticipant
Prefix for messages from server.
shutdown()
- Method in class rmi.
ChatClient
Shuts down, notifying server that we're leaving.
shutdown()
- Method in interface rmi.
ChatClientInterface
Shuts down, notifying server that we're leaving.
startup()
- Method in class rmi.
ChatClient
Starts up.
startup()
- Method in class rmi.
ChatClientGUI
Start up -- display GUI, start client.
startup()
- Method in interface rmi.
ChatClientInterface
Starts up client (performing any work that can't be done in the constructor).
A
B
C
D
E
G
M
R
S
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes