|
|
Cheshire3 Object Model: Class Server
|
Module baseObjects ::
Class Server
Object Tree:
object --+
|
configParser.C3Object --+
|
Server
- Known Subclasses:
-
server.SimpleServer
A Server object is a collection point for other objects, and an
initial entry into the system for requests from a ProtocolHandler. A
server might know about several Databases, RecordStores and so forth, but
its main function is to check whether the request should be accepted or
not and create an environment in which the request can be processed. It
will likely have access to a UserStore database which maintains
authentication and authorisation information. The exact nature of this
information is not defined, allowing many possible backend
implementations. Servers are the top level of configuration for the
system and hence their constructor requires the path to a local XML
configuration file, however from then on configuration information may be
retrieved from other locations such as a remote datastore to enable
distributed environments to maintain synchronicity.