A B C D E F G H I L M N O P Q R S T U V X Y

A

AbstractClient - class ocsf.client.AbstractClient.
The AbstractClient contains all the methods necessary to set up the client side of a client-server architecture.
AbstractClient(String, int) - Constructor for class ocsf.client.AbstractClient
Constructs the client.
AbstractServer - class ocsf.server.AbstractServer.
The AbstractServer class maintains a thread that waits for connection attempts from clients.
AbstractServer(int) - Constructor for class ocsf.server.AbstractServer
Constructs a new server.
accept() - Method in class ClientConsole
This method waits for input from the console.
AdaptableClient - class ocsf.client.AdaptableClient.
The AdaptableClient is a class that extends the AbstractClient in place of the ObservableClient . Project Name: OCSF (Object Client-Server Framework)
AdaptableClient(String, int, ObservableClient) - Constructor for class ocsf.client.AdaptableClient
Constructs the client adapter.
AdaptableServer - class ocsf.server.AdaptableServer.
The AdaptableServer is an adapter class that extends the AbstractServer class in place of the AbstractObservableServer . Project Name: OCSF (Object Client-Server Framework)
AdaptableServer(int, ObservableServer) - Constructor for class ocsf.server.AdaptableServer
Constructs the server adapter.

B

backlog - Variable in class ocsftester.ServerFrame
 
backlog - Variable in class ocsf.server.AbstractServer
The maximum queue length; i.e.
backlogLB - Variable in class ocsftester.ServerFrame
 
BritishPostalCode - class postalcode.BritishPostalCode.
This class is a subclass of PostalCode used to deal with British postal codes.
BritishPostalCode(String) - Constructor for class postalcode.BritishPostalCode
Constructs an instance of a British postal code object.

C

CanadianPostalCode - class postalcode.CanadianPostalCode.
This class is a subclass of PostalCode used to deal with Canadian postal codes.
CanadianPostalCode(String) - Constructor for class postalcode.CanadianPostalCode
Constructs a Canadian postal code object.
ChatClient - class client.ChatClient.
This class overrides some of the methods defined in the abstract superclass in order to give more functionality to the client.
ChatClient(String, int, ChatIF) - Constructor for class client.ChatClient
Constructs an instance of the chat client.
ChatIF - interface common.ChatIF.
This interface implements the abstract method used to display objects onto the client or server UIs.
client - Variable in class ocsftester.ClientFrame
 
client - Variable in class ClientConsole
The instance of the client that created this ConsoleChat.
client - Variable in class ocsf.client.AdaptableClient
The proxy used to simulate multiple class inheritance.
clientConnected(ConnectionToClient) - Method in class ocsftester.SimpleServer
Hook method called each time a new client connection is accepted.
clientConnected(ConnectionToClient) - Method in class ocsf.server.AbstractServer
Hook method called each time a new client connection is accepted.
clientConnected(ConnectionToClient) - Method in class ocsf.server.AdaptableServer
Hook method called each time a new client connection is accepted.
clientConnected(ConnectionToClient) - Method in class ocsf.server.ObservableServer
Hook method called each time a new client connection is accepted.
ClientConsole - class ClientConsole.
This class constructs the UI for a chat client.
ClientConsole(String, int) - Constructor for class ClientConsole
Constructs an instance of the ClientConsole UI.
clientDisconnected(ConnectionToClient) - Method in class ocsftester.SimpleServer
Hook method called each time a client disconnects.
clientDisconnected(ConnectionToClient) - Method in class ocsf.server.AbstractServer
Hook method called each time a client disconnects.
clientDisconnected(ConnectionToClient) - Method in class ocsf.server.AdaptableServer
Hook method called each time a client disconnects.
clientDisconnected(ConnectionToClient) - Method in class ocsf.server.ObservableServer
Hook method called each time a client disconnects.
clientException(ConnectionToClient, Throwable) - Method in class ocsftester.SimpleServer
Hook method called each time an exception is thrown in a ConnectionToClient thread.
clientException(ConnectionToClient, Throwable) - Method in class ocsf.server.AbstractServer
Hook method called each time an exception is thrown in a ConnectionToClient thread.
clientException(ConnectionToClient, Throwable) - Method in class ocsf.server.AdaptableServer
Hook method called each time an exception is raised in a client thread.
clientException(ConnectionToClient, Throwable) - Method in class ocsf.server.ObservableServer
Hook method called each time an exception is raised in a client thread.
ClientFrame - class ocsftester.ClientFrame.
The ClientFrame class is a simple interactive application made to exercise the OCSF framework. Type java ocsftester.ClientFrame host port_number to start one client. The window is pink when the connection has been closed, red when an exception is received, and green when connected to the server.
ClientFrame(String, int) - Constructor for class ocsftester.ClientFrame
 
clientReader - Variable in class ocsf.client.AbstractClient
The thread created to read data from the server.
ClientsFrame - class ocsftester.ClientsFrame.
The ClientsFrame class is an application that randomly generates clients, connects them to the server, makes them sending messages, and closes them.
ClientsFrame(String, int) - Constructor for class ocsftester.ClientsFrame
 
clientSocket - Variable in class ocsf.client.AbstractClient
Sockets are used in the operating system as channels of communication between two processes.
clientSocket - Variable in class ocsf.server.ConnectionToClient
Sockets are used in the operating system as channels of communication between two processes.
clientThreadGroup - Variable in class ocsf.server.AbstractServer
The thread group associated with client threads.
clientUI - Variable in class client.ChatClient
The interface type variable.
close() - Method in class ocsftester.ClientFrame
 
close() - Method in class ocsftester.ServerFrame
 
close() - Method in class ocsf.server.AbstractServer
Closes the server socket and the connections with all clients.
close() - Method in class ocsf.server.ConnectionToClient
Closes the client.
close() - Method in class ocsf.server.ObservableServer
Closes the server's connections with all clients.
closeAll() - Method in class ocsf.client.AbstractClient
Closes all aspects of the connection to the server.
closeAll() - Method in class ocsf.server.ConnectionToClient
Closes all connection to the server.
closeB - Variable in class ocsftester.ClientFrame
 
closeB - Variable in class ocsftester.ServerFrame
 
closeConnection() - Method in class ocsf.client.AbstractClient
Closes the connection to the server.
closeConnection() - Method in class ocsf.client.ObservableClient
Closes the connection to the server.
code - Variable in class postalcode.PostalCode
The postal code to be analysed.
computeDestination() - Method in class postalcode.CanadianPostalCode
This method will return the destination of the postal code.
computeDestination() - Method in class postalcode.USZipCode
This method will return a String indicating the location of the destination address.
connectionClosed() - Method in class ocsftester.SimpleClient
Hook method called after the connection has been closed.
connectionClosed() - Method in class ocsf.client.AbstractClient
Hook method called after the connection has been closed.
connectionClosed() - Method in class ocsf.client.AdaptableClient
Hook method called after the connection has been closed.
connectionClosed() - Method in class ocsf.client.ObservableClient
Hook method called after the connection has been closed.
connectionEstablished() - Method in class ocsftester.SimpleClient
Hook method called after a connection has been established.
connectionEstablished() - Method in class ocsf.client.AbstractClient
Hook method called after a connection has been established.
connectionEstablished() - Method in class ocsf.client.AdaptableClient
Hook method called after a connection has been established.
connectionEstablished() - Method in class ocsf.client.ObservableClient
Hook method called after a connection has been established.
connectionException(Exception) - Method in class ocsftester.SimpleClient
Hook method called each time an exception is thrown by the client's thread that is waiting for messages from the server.
connectionException(Exception) - Method in class ocsf.client.AbstractClient
Hook method called each time an exception is thrown by the client's thread that is waiting for messages from the server.
connectionException(Exception) - Method in class ocsf.client.AdaptableClient
Hook method called after an exception is raised by the client listening thread.
connectionException(Exception) - Method in class ocsf.client.ObservableClient
Hook method called each time an exception is raised by the client listening thread.
connectionListener - Variable in class ocsf.server.AbstractServer
The connection listener thread.
ConnectionToClient - class ocsf.server.ConnectionToClient.
An instance of this class is created by the server when a client connects.
ConnectionToClient(ThreadGroup, Socket, AbstractServer) - Constructor for class ocsf.server.ConnectionToClient
Constructs a new connection to a client.
convertStorageToCartesian() - Method in class PointCP
Converts Polar coordinates to Cartesian coordinates.
convertStorageToPolar() - Method in class PointCP
Converts Cartesian coordinates to Polar coordinates.
counter - Variable in class ThreadExample
 
counterNumber - Variable in class ThreadExample
 

D

DEFAULT_PORT - Static variable in class ClientConsole
The default port to connect on.
DEFAULT_PORT - Static variable in class EchoServer
The default port to listen on.
delay - Variable in class ThreadExample
 
destination - Variable in class postalcode.PostalCode
The destination location of the postal code.
display(String) - Method in class ClientConsole
This method overrides the method in the ChatIF interface.
display(String) - Method in interface common.ChatIF
Method that when overriden is used to display objects onto a UI.

E

EchoServer - class EchoServer.
This class overrides some of the methods in the abstract superclass in order to give more functionality to the server.
EchoServer(int) - Constructor for class EchoServer
Constructs an instance of the echo server.

F

finalize() - Method in class ocsf.server.ConnectionToClient
This method is called by garbage collection.

G

getClientConnections() - Method in class ocsf.server.AbstractServer
Returns an array containing the existing client connections.
getClientConnections() - Method in class ocsf.server.ObservableServer
Returns an array of containing the existing client connections.
getCode() - Method in class postalcode.PostalCode
Retrieves the postal code.
getCountry() - Method in class postalcode.BritishPostalCode
This method will return the country of origin of the postal code.
getCountry() - Method in class postalcode.CanadianPostalCode
Returns the country of origin of the code.
getCountry() - Method in class postalcode.PostalCode
This method returns the country of origin of the postal code.
getCountry() - Method in class postalcode.USZipCode
This method returns the country of origin of this code.
getDestination() - Method in class postalcode.PostalCode
Retrieves the postal code's destination.
getDistance(PointCP) - Method in class PointCP
Calculates the distance in between two points using the Pythagorean theorem (C ^ 2 = A ^ 2 + B ^ 2).
getHost() - Method in class ocsf.client.AbstractClient
 
getHost() - Method in class ocsf.client.ObservableClient
 
getInetAddress() - Method in class ocsf.client.AbstractClient
returns the client's description.
getInetAddress() - Method in class ocsf.client.ObservableClient
 
getInetAddress() - Method in class ocsf.server.ConnectionToClient
Returns the address of the client.
getInfo(String) - Method in class ocsf.server.ConnectionToClient
Returns information about the client saved using setInfo.
getInput() - Static method in class PointCPTest
This method obtains input from the user and verifies that it is valid.
getInput() - Static method in class PostalTest
This method handles the input from the console.
getMessage() - Method in class ocsf.server.OriginatorMessage
Returns the message's contents.
getNumberOfClients() - Method in class ocsf.server.AbstractServer
Counts the number of clients currently connected.
getNumberOfClients() - Method in class ocsf.server.ObservableServer
 
getOriginator() - Method in class ocsf.server.OriginatorMessage
Returns the originating connection.
getPort() - Method in class ocsf.client.AbstractClient
 
getPort() - Method in class ocsf.client.ObservableClient
 
getPort() - Method in class ocsf.server.AbstractServer
Returns the port number.
getPort() - Method in class ocsf.server.ObservableServer
 
getRho() - Method in class PointCP
 
getTheta() - Method in class PointCP
 
getX() - Method in class PointCP
 
getY() - Method in class PointCP
 

H

handleMessageFromClient(Object, ConnectionToClient) - Method in class ocsftester.SimpleServer
Handles a command sent from one client to the server.
handleMessageFromClient(Object, ConnectionToClient) - Method in class EchoServer
This method handles any messages received from the client.
handleMessageFromClient(Object, ConnectionToClient) - Method in class ocsf.server.AbstractServer
Handles a command sent from one client to the server.
handleMessageFromClient(Object, ConnectionToClient) - Method in class ocsf.server.AdaptableServer
Handles a command sent from the client to the server.
handleMessageFromClient(Object, ConnectionToClient) - Method in class ocsf.server.ObservableOriginatorServer
This method is used to handle messages coming from the client.
handleMessageFromClient(Object, ConnectionToClient) - Method in class ocsf.server.ObservableServer
This method is used to handle messages coming from the client.
handleMessageFromClientUI(String) - Method in class client.ChatClient
This method handles all data coming from the UI
handleMessageFromServer(Object) - Method in class ocsftester.SimpleClient
Handles a message sent from the server to this client.
handleMessageFromServer(Object) - Method in class ocsf.client.AbstractClient
Handles a message sent from the server to this client.
handleMessageFromServer(Object) - Method in class ocsf.client.AdaptableClient
Handles a message sent from the server to this client.
handleMessageFromServer(Object) - Method in class ocsf.client.ObservableClient
This method is used to handle messages from the server.
handleMessageFromServer(Object) - Method in class client.ChatClient
This method handles all data that comes in from the server.
hasBeenValidated - Variable in class postalcode.PostalCode
Whether the code has been validated.
host - Variable in class ocsftester.ClientFrame
 
host - Variable in class ocsftester.ClientsFrame
 
host - Variable in class ocsf.client.AbstractClient
The server's host name.
hostLB - Variable in class ocsftester.ClientFrame
 

I

input - Variable in class ocsf.client.AbstractClient
The stream to handle data from the server.
input - Variable in class ocsf.server.ConnectionToClient
Stream used to read from the client.
isConnected() - Method in class ocsf.client.AbstractClient
 
isConnected() - Method in class ocsf.client.ObservableClient
 
isListening() - Method in class ocsf.server.AbstractServer
Returns true if the server is ready to accept new clients.
isListening() - Method in class ocsf.server.ObservableServer
 
isValid - Variable in class postalcode.PostalCode
Once validated, whether the code is valid or not.
isValid() - Method in class postalcode.PostalCode
Verifies if the postal is valid.

L

limit - Variable in class ThreadExample
 
liste - Variable in class ocsftester.ClientFrame
 
liste - Variable in class ocsftester.ClientsFrame
 
liste - Variable in class ocsftester.ServerFrame
 
liste - Variable in class ocsftester.SimpleClient
 
liste - Variable in class ocsftester.SimpleServer
 
listen() - Method in class ocsftester.ServerFrame
 
listen() - Method in class ocsf.server.AbstractServer
Begins the thread that waits for new clients.
listen() - Method in class ocsf.server.ObservableServer
Begins the thread that waits for new clients
listenB - Variable in class ocsftester.ServerFrame
 
listeningException(Throwable) - Method in class ocsftester.SimpleServer
Hook method called when the server stops accepting connections because an exception has been raised.
listeningException(Throwable) - Method in class ocsf.server.AbstractServer
Hook method called when the server stops accepting connections because an exception has been raised.
listeningException(Throwable) - Method in class ocsf.server.AdaptableServer
Hook method called when the server stops accepting connections because an exception has been raised.
listeningException(Throwable) - Method in class ocsf.server.ObservableServer
This method is called when the server stops accepting connections because an exception has been raised.

M

main(String[]) - Static method in class ocsftester.ClientFrame
Starts the client.
main(String[]) - Static method in class ocsftester.ClientsFrame
Starts the client generator.
main(String[]) - Static method in class ocsftester.ServerDriver
Starts the server.
main(String[]) - Static method in class ocsftester.ServerFrame
Starts the server.
main(String[]) - Static method in class PointCPTest
This method is responsible for the creation of the PointCP object.
main(String[]) - Static method in class PostalTest
Retrieves a postal code from the console and analyses it.
main(String[]) - Static method in class ClientConsole
This method is responsible for the creation of the Client UI.
main(String[]) - Static method in class EchoServer
This method is responsible for the creation of the server instance (there is no UI in this phase).
main(String[]) - Static method in class ThreadExample
 
message - Variable in class ocsftester.ClientFrame
 
message - Variable in class ocsf.server.OriginatorMessage
The message.
messageLB - Variable in class ocsftester.ClientFrame
 

N

nclient - Variable in class ocsftester.ClientsFrame
 

O

ObservableClient - class ocsf.client.ObservableClient.
This class acts as a subclass of AbstractClient and is also an Observable class.
ObservableClient(String, int) - Constructor for class ocsf.client.ObservableClient
 
ObservableOriginatorServer - class ocsf.server.ObservableOriginatorServer.
 
ObservableOriginatorServer(int) - Constructor for class ocsf.server.ObservableOriginatorServer
Constructs a new server.
ObservableServer - class ocsf.server.ObservableServer.
This class acts as a subclass of AbstractServer and is also an Observable class.
ObservableServer(int) - Constructor for class ocsf.server.ObservableServer
Constructs a new server.
open() - Method in class ocsftester.ClientFrame
 
openB - Variable in class ocsftester.ClientFrame
 
openConnection() - Method in class ocsf.client.AbstractClient
Opens the connection with the server.
openConnection() - Method in class ocsf.client.ObservableClient
Opens the connections with the server.
originator - Variable in class ocsf.server.OriginatorMessage
The connection that originated the message
OriginatorMessage - class ocsf.server.OriginatorMessage.
A message class used by the Observable layer of the OCSF in order to conserve information about the originator of a message.
OriginatorMessage(ConnectionToClient, Object) - Constructor for class ocsf.server.OriginatorMessage
Constructs an instance of an OriginatorMessage
output - Variable in class ocsf.client.AbstractClient
The stream to handle data going to the server.
output - Variable in class ocsf.server.ConnectionToClient
Stream used to write to the client.

P

PointCP - class PointCP.
This class contains instances of coordinates in either polar or cartesian format.
PointCP(char, double, double) - Constructor for class PointCP
Constructs a coordinate object, with a type identifier.
PointCPTest - class PointCPTest.
This class prompts the user for a set of coordinates, and then converts them from polar to cartesian or vice-versa.
PointCPTest() - Constructor for class PointCPTest
 
port - Variable in class ocsftester.ClientFrame
 
port - Variable in class ocsftester.ClientsFrame
 
port - Variable in class ocsftester.ServerFrame
 
port - Variable in class ocsf.client.AbstractClient
The port number.
port - Variable in class ocsf.server.AbstractServer
The port number
portLB - Variable in class ocsftester.ClientFrame
 
portLB - Variable in class ocsftester.ServerFrame
 
PostalCode - class postalcode.PostalCode.
This class is the superclass which defines the basics of any postal code.
PostalCode(String) - Constructor for class postalcode.PostalCode
Constructs a postal code object using information passed by the subclass constructors.
PostalCodeException - exception postalcode.PostalCodeException.
This class defines an exception that will be thrown if a postal code is invalid.
PostalCodeException() - Constructor for class postalcode.PostalCodeException
Default constructor.
PostalCodeException(String) - Constructor for class postalcode.PostalCodeException
Constructor that provides more details as to what caused the exception to be thrown.
PostalTest - class PostalTest.
This class retreives a postal code that will be inputted by the user through the console.
PostalTest() - Constructor for class PostalTest
 

Q

quit() - Method in class ocsftester.ClientFrame
 
quit() - Method in class ocsftester.ServerFrame
 
quit() - Method in class client.ChatClient
This method terminates the client.
quitB - Variable in class ocsftester.ClientFrame
 
quitB - Variable in class ocsftester.ServerFrame
 

R

readFields() - Method in class ocsftester.ClientFrame
 
readFields() - Method in class ocsftester.ServerFrame
 
readyToStop - Variable in class ocsf.client.AbstractClient
Indicates if the thread is ready to stop.
readyToStop - Variable in class ocsf.server.AbstractServer
Indicates if the listening thread is ready to stop.
readyToStop - Variable in class ocsf.server.ConnectionToClient
Indicates if the thread is ready to stop.
receiveMessageFromClient(Object, ConnectionToClient) - Method in class ocsf.server.AbstractServer
Receives a command sent from the client to the server.
rotatePoint(double) - Method in class PointCP
Rotates the specified point by the specified number of degrees.
run() - Method in class ocsftester.ClientsFrame
 
run() - Method in class ocsftester.ServerDriver
 
run() - Method in class ThreadExample
 
run() - Method in class ocsf.client.AbstractClient
Waits for messages from the server.
run() - Method in class ocsf.server.AbstractServer
Runs the listening thread that allows clients to connect.
run() - Method in class ocsf.server.ConnectionToClient
Constantly reads the client's input stream.

S

savedInfo - Variable in class ocsf.server.ConnectionToClient
Map to save information about the client such as its login ID.
sc - Variable in class ocsftester.ClientsFrame
 
send() - Method in class ocsftester.ClientFrame
 
sendB - Variable in class ocsftester.ClientFrame
 
sendToAllClients(Object) - Method in class ocsf.server.AbstractServer
Sends a message to every client connected to the server.
sendToAllClients(Object) - Method in class ocsf.server.ObservableServer
Sends a message to every client connected to the server.
sendToClient(Object) - Method in class ocsf.server.ConnectionToClient
Sends an object to the client.
sendToServer(Object) - Method in class ocsf.client.AbstractClient
Sends an object to the server.
sendToServer(Object) - Method in class ocsf.client.ObservableClient
Sends an object to the server.
server - Variable in class ocsftester.ServerFrame
 
server - Variable in class ocsf.server.AdaptableServer
The adapter used to simulate multiple class inheritance.
server - Variable in class ocsf.server.ConnectionToClient
A reference to the Server that created this instance.
serverClosed() - Method in class ocsftester.SimpleServer
Hook method called when the server is clased.
serverClosed() - Method in class ocsf.server.AbstractServer
Hook method called when the server is clased.
serverClosed() - Method in class ocsf.server.AdaptableServer
Hook method called when the server is closed.
serverClosed() - Method in class ocsf.server.ObservableServer
This method is called when the server is closed.
ServerDriver - class ocsftester.ServerDriver.
The ServerDriver class is a driver of the ServerFrame class.
ServerDriver(int) - Constructor for class ocsftester.ServerDriver
 
ServerFrame - class ocsftester.ServerFrame.
The ServerFrame class is a simple interactive application made to exercise the OCSF framework. Type java ocsftester.ServerFrame port_number to start the server. The window is red when the server is closed, yellow when the server is stopped and green when open.
ServerFrame(int) - Constructor for class ocsftester.ServerFrame
 
serverPaused() - Method in class ocsf.server.ObservableServer
This method is called when the server briefly stop accepting connections.
serverSocket - Variable in class ocsf.server.AbstractServer
The server socket: listens for clients who want to connect.
serverStarted() - Method in class ocsftester.SimpleServer
Hook method called when the server starts listening for connections.
serverStarted() - Method in class EchoServer
This method overrides the one in the superclass.
serverStarted() - Method in class ocsf.server.AbstractServer
Hook method called when the server starts listening for connections.
serverStarted() - Method in class ocsf.server.AdaptableServer
Hook method called when the server starts listening for connections.
serverStarted() - Method in class ocsf.server.ObservableServer
This method is called when the server starts listening for connections.
serverStopped() - Method in class ocsftester.SimpleServer
Hook method called when the server stops accepting connections.
serverStopped() - Method in class EchoServer
This method overrides the one in the superclass.
serverStopped() - Method in class ocsf.server.AbstractServer
Hook method called when the server stops accepting connections.
serverStopped() - Method in class ocsf.server.AdaptableServer
Hook method called when the server stops accepting connections.
serverStopped() - Method in class ocsf.server.ObservableServer
This method is called when the server stops accepting connections for any reason.
service - Variable in class ocsf.client.ObservableClient
The service instance used to simulate multiple class inheritance.
service - Variable in class ocsf.server.ObservableServer
The service used to simulate multiple class inheritance.
setBacklog(int) - Method in class ocsf.server.AbstractServer
Sets the maximum number of waiting connections accepted by the operating system.
setBacklog(int) - Method in class ocsf.server.ObservableServer
Sets the maximum number of waiting connections accepted by the operating system.
setDestination(String) - Method in class postalcode.PostalCode
Sets the postal code's destination.
setHost(String) - Method in class ocsf.client.AbstractClient
Sets the server host for the next connection.
setHost(String) - Method in class ocsf.client.ObservableClient
Sets the server host for the next connection.
setInfo(String, Object) - Method in class ocsf.server.ConnectionToClient
Saves arbitrary information about this client.
setPort(int) - Method in class ocsf.client.AbstractClient
Sets the server port number for the next connection.
setPort(int) - Method in class ocsf.client.ObservableClient
Sets the server port number for the next connection.
setPort(int) - Method in class ocsf.server.AbstractServer
Sets the port number for the next connection.
setPort(int) - Method in class ocsf.server.ObservableServer
Sets the port number for the next connection.
setTimeout(int) - Method in class ocsf.server.AbstractServer
Sets the timeout time when accepting connections.
setTimeout(int) - Method in class ocsf.server.ObservableServer
Sets the timeout time when accepting connection.
sf - Variable in class ocsftester.ServerDriver
 
SimpleClient - class ocsftester.SimpleClient.
The SimpleClient class is a simple subclass of the ocsf.server.AbstractClient class.
SimpleClient(int, List) - Constructor for class ocsftester.SimpleClient
 
SimpleClient(List) - Constructor for class ocsftester.SimpleClient
 
SimpleClient(String, int, List) - Constructor for class ocsftester.SimpleClient
 
SimpleServer - class ocsftester.SimpleServer.
The SimpleServer class is a simple subclass of the ocsf.server.AbstractServer class.
SimpleServer(int, List) - Constructor for class ocsftester.SimpleServer
Creates a simple server.
SimpleServer(List) - Constructor for class ocsftester.SimpleServer
Creates a simple server.
stop() - Method in class ocsftester.ServerFrame
 
stopB - Variable in class ocsftester.ServerFrame
 
stopListening() - Method in class ocsf.server.AbstractServer
Causes the server to stop accepting new connections.
stopListening() - Method in class ocsf.server.ObservableServer
Causes the server to stop accepting new connections.

T

th - Variable in class ocsftester.ClientsFrame
 
ThreadExample - class ThreadExample.
 
ThreadExample(int, int, long) - Constructor for class ThreadExample
 
throwException(String) - Method in class postalcode.PostalCode
This method will cause an exception to be thrown.
timeout - Variable in class ocsftester.ServerFrame
 
timeout - Variable in class ocsf.server.AbstractServer
The server timeout while for accepting connections.
timeoutLB - Variable in class ocsftester.ServerFrame
 
toString() - Method in class PointCP
Returns information about the coordinates.
toString() - Method in class ocsf.server.ConnectionToClient
Returns a string representation of the client.
toString() - Method in class postalcode.PostalCode
General information about this object.
typeCoord - Variable in class PointCP
Contains C(artesian) or P(olar) to identify the type of coordinates that are being dealt with.

U

USZipCode - class postalcode.USZipCode.
This class is a subclass of PostalCode used to handle and verify US ZIP codes.
USZipCode(String) - Constructor for class postalcode.USZipCode
Constructs a ZIP Code type object.

V

validate() - Method in class postalcode.BritishPostalCode
This method will verify the validity of the postal code.
validate() - Method in class postalcode.CanadianPostalCode
This method will verifiy the validity of the postal code.
validate() - Method in class postalcode.PostalCode
This method is used to verify the validity of a postal code.
validate() - Method in class postalcode.USZipCode
This method validates the postal code.

X

xOrRho - Variable in class PointCP
Contains the current value of X or RHO depending on the type of coordinates.

Y

yOrTheta - Variable in class PointCP
Contains the current value of Y or THETA value depending on the type of coordinates.

A B C D E F G H I L M N O P Q R S T U V X Y