|
|||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||
AbstractClient contains all the
methods necessary to set up the client side of a client-server
architecture. AbstractServer class maintains a thread that waits
for connection attempts from clients. AdaptableClient is a class
that extends the AbstractClient in place of
the ObservableClient .
Project Name: OCSF (Object Client-Server Framework) AdaptableServer is an adapter class
that extends the AbstractServer class in place of
the AbstractObservableServer .
Project Name: OCSF (Object Client-Server Framework) 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. ClientsFrame class is an application
that randomly generates clients, connects them to the server,
makes them sending messages, and closes them.AbstractClient
and is also an Observable class.AbstractServer
and is also an Observable class. ServerDriver class is a driver
of the ServerFrame class. 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. SimpleClient class is a simple subclass
of the ocsf.server.AbstractClient class. SimpleServer class is a simple subclass
of the ocsf.server.AbstractServer class.
|
|||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||