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.
Update Methods
All update methods return the number
of clients updated.
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);