C D E G M P R S T V

C

client - package client
Classes in this package define the client side of the client/server application.
Client - Class in client
Class Client is a simple illustration of a client that communicates with a remote server using RMI.
Client() - Constructor for class client.Client
 
ClientData - Class in client
Class ClientData defines client-specific data.
ClientData(int) - Constructor for class client.ClientData
Construct this with the given numeric value.
clientData - Variable in class server.Server
Local copy of client input for computing with
ClientDataInterface - Interface in client
ClientDataInterface defines the abstract interface that the remote server needs to client data.
compute() - Method in class server.Server
Perform some computation using the client input.
compute() - Method in interface server.ServerInterface
Perform some computation using the client input.

D

displayOn - Static variable in class client.Client
True if the display is on, i.e., the 2nd command-line arg != "-nd"
displayOn - Static variable in class server.Server
True if the display is on, i.e., the 2nd command-line arg != "-nd"

E

establishCommunication(String) - Static method in class client.Client
Establish communication with the server running on the given hostname.

G

getServerOutput() - Method in class server.Server
Return computation results back to the client, when the client calls for it.
getServerOutput() - Method in interface server.ServerInterface
Return computation results back to the client, when the client calls for it.
getValue() - Method in class client.ClientData
Provide access to this' data value.
getValue() - Method in interface client.ClientDataInterface
Provide access to this' data value.

M

main(String[]) - Static method in class client.Client
Get the hostname from command-line argument, exiting if there is none.
main(String[]) - Static method in class server.Server
Get the hostname from the command-line argument, exiting if there is none.

P

performComputation() - Static method in class client.Client
Call the following methods on the remote server: receiveClientInput compute getServerOutput Display the resulting server output in the display window, or write the output to stdout if the display is not on.

R

receiveClientInput(ClientDataInterface) - Method in class server.Server
Receive some input from the client.
receiveClientInput(ClientDataInterface) - Method in interface server.ServerInterface
Receive some input from the client.

S

server - package server
Classes in this package define the server side of the client/server application.
server - Static variable in class client.Client
The remote server class; note the use of the interface type in the declaration, which means that the server implementation need not be (and typically is not) on the client machine.
Server - Class in server
Class Server is a simple illustration of a remote server that uses RMI communication.
Server() - Constructor for class server.Server
Construct this by calling the parent constructor.
ServerInterface - Interface in server
ServerInterface defines the remote methods that class Server provides.
serverOutput - Variable in class server.Server
Value computed by the server
setupDisplay(String) - Static method in class client.Client
Set up the display as a JFrame with a labeled text field.
setupDisplay(String) - Static method in class server.Server
Set up the display as a JFrame with a labeled text field.
setupServer(String) - Static method in class server.Server
Perform the necessary setup for remote execution.

T

textField - Static variable in class client.Client
The text field that displays the result computed by the server; the result is printed to stdout instead of this text field if the GUI display is not active
textField - Static variable in class server.Server
The text field that displays the received client data; received client data are printed to stdout instead of this text field if the GUI display is not active

V

value - Variable in class client.ClientData
Data value

C D E G M P R S T V