Class: DimService
Library: DIM
Author: C. Gaspar  
Version: v1.0 Update :Thu Feb 11 15:52:46 1999

Description :

    To be used by DIM Servers - Implements Service creation.
    DimService constructors add a DIM Service to the list of known services.
    The DimServices will only be registered (published) and served after "Starting" the DimServer.
    Please refer to Usage for examples of DimServices.

Constructors :

   First parameter is the Service Name.  Second parameter is the initial value of the parameter
   to be published.

Destructors : Public Functions :

    Update Methods
        All update methods return the number of clients updated. 

    Methods for Time Stamping and Quality flag. The Server time stamps the service and sets the quality flag to zero. The following methods allow the user to override the default.
    These settings will be sent to the client with the next update of service data.

Usage :

    DimService creation example:

- The Server Updates the service (i.e. sends it to the client) whenever the contents change

            int run = 123;
            DimService runNumber = new DimService("DELPHI/RUN_NUMBER", run);
            DimServer.start("DelphiServer");
            ...
            run++;
            runNumber.updateService(run);


Last update : 02/11/99 15:53:02 by MkHelp 1.1.0