All Packages Class Hierarchy This Package Previous Next Index
Class tc.application.DatabaseServer
java.lang.Object
|
+----connection.socket.Server
|
+----tc.application.DatabaseServer
- public class DatabaseServer
- extends Server
DatabaseServer is the server side main class for remote version of example
TC applications. It creates message handlers for delegating the incoming
database access requests to the database manager. Each client will be
served by its own server thread (and thus its own database manager and
message handlers) as defined in the connection package.
- Version:
- 0.30, 1998/04/02
- Author:
- FRED development team, Jukka Viljamaa, Antti Viljamaa
- See Also:
- CalendarClient, Server, ServerThread, Message, MessageHandler, DatabaseManager
-
DatabaseServer(String[])
- Constructs a new DatabaseServer.
-
createMessageHandlers(ConnectionManager, MessageHandler)
- Implements the method defined in Server by creating the message handlers
for the database server.
-
main(String[])
- Creates the DatabaseServer.
-
printUsage(String)
- Overrides the method defined in Server so that it gives proper info.
DatabaseServer
public DatabaseServer(String args[])
- Constructs a new DatabaseServer. Passes the given command line arguments
as a parameter for the super class.
createMessageHandlers
public MessageHandler createMessageHandlers(ConnectionManager connectionManager,
MessageHandler rootHandler)
- Implements the method defined in Server by creating the message handlers
for the database server.
- Overrides:
- createMessageHandlers in class Server
main
public static void main(String args[])
- Creates the DatabaseServer. Passes the command line arguments for the
constructor.
printUsage
protected void printUsage(String errorMsg)
- Overrides the method defined in Server so that it gives proper info.
- Overrides:
- printUsage in class Server
All Packages Class Hierarchy This Package Previous Next Index