Class: |
DimUpdatedInfo |
Library: |
DIM |
|
Author: |
C. Gaspar |
|
Version: |
v1.0 |
Update : Wed Apr 05 15:52:46 2000 |
Descrition :
To be used by DIM clients - implements DIM service
subscription and reception
DimUpdatedInfo constructors subscribe to DIM services.
DimUpdatedInfo Services can be requested to be updated
when the contents change and/or at regular time intervals.
The
difference between DimUpdatedInfo and DimInfo is that services are not received
at Startup, i.e. the first time a client subscribes to a service.
The services are received when the server updates
them or after a timeout limit if the parameter "time" is specified.
DimUpdatedInfo inherits its behaviour from DimInfo,
please refer to it for detailed description.
Please refer to Usage for
examples.
Constructors (as for DimInfo):
Constructors for Services updated only by the
server
-
public DimUpdatedInfo ( char * name,
int nolink) ; Integer Service
-
public DimUpdatedInfo ( char * name,
float nolink) ; Float Service
-
public DimUpdatedInfo ( char * name,
double nolink) ; Double Service
-
public DimUpdatedInfo ( char * name, short nolink) ;
Short Service
-
public DimUpdatedInfo ( char * name, longlong nolink) ;
Longlong (64 bit) Service
-
public DimUpdatedInfo ( char * name,
char * nolink) ; Character String Service
-
public DimUpdatedInfo ( char * name,
void * nolink, int nolinksize) ; Structure (mix types) Service
Constructors for Services updated (also) on a time
basis
-
public DimUpdatedInfo ( char * name,
int time, int nolink) ; Integer Service
-
public DimUpdatedInfo ( char * name,
int time, float nolink) ; Float Service
-
public DimUpdatedInfo ( char * name,
int time, double nolink) ; Double Service
-
public DimUpdatedInfo ( char * name, int time, short nolink) ;
Short Service
-
public DimUpdatedInfo ( char * name, int time,
longlong nolink) ; Longlong (64 bit) Service
-
public DimUpdatedInfo ( char * name,
int time, char * nolink) ; Character String Service
-
public DimUpdatedInfo ( char * name,
int time, void * nolink, int nolinksize) ; Structure (mix types)
Service
Constructors for Services with
a Handler for multiple Services (without time)
-
public DimUpdatedInfo ( char * name,
int nolink, DimInfoHandler * handler) ; Integer Service
-
public DimUpdatedInfo ( char * name,
float nolink, DimInfoHandler * handler) ; Float Service
-
public DimUpdatedInfo ( char * name,
double nolink, DimInfoHandler * handler) ; Double Service
-
public DimUpdatedInfo ( char * name, short nolink, DimInfoHandler
* handler) ; Short Service
-
public DimUpdatedInfo ( char * name, longlong nolink, DimInfoHandler
* handler) ; Longlong (64 bit) Service
-
public DimUpdatedInfo ( char * name,
char * nolink, DimInfoHandler * handler) ; Character String Service
-
public DimUpdatedInfo ( char * name,
void * nolink, int nolinksize, DimInfoHandler * handler) ; Structure
(mix types) Service
Constructors for Services with
a Handler for multiple Services (with time)
-
public DimUpdatedInfo ( char * name,
int time, int nolink, DimInfoHandler * handler) ; Integer Service
-
public DimUpdatedInfo ( char * name,
int time, float nolink, DimInfoHandler * handler) ; Float Service
-
public DimUpdatedInfo ( char * name,
int time, double nolink, DimInfoHandler * handler) ; Double Service
-
public DimUpdatedInfo ( char * name, int time, short nolink, DimInfoHandler
* handler) ; Short Service
-
public DimUpdatedInfo ( char * name, int time,
longlong nolink, DimInfoHandler * handler) ; Longlong (64 bit) Service
-
public DimUpdatedInfo ( char * name,
int time, char * nolink, DimInfoHandler * handler) ; Character String
Service
-
public DimUpdatedInfo ( char * name,
int time, void * nolink, int nolinksize, DimInfoHandler * handler) ;
Structure (mix types) Service
Destructors :
-
public ~ DimUpdatedInfo ( ) ; Dim Service
Destructor
Public Functions :
Inherited from DimInfo:
-
void* getData ( ) ; Get the Service Contents
-
int getInt ( ) ; Get Integer Service Contents
-
float getFloat ( ) ; Get Float Service Contents
-
double getDouble ( ) ; Get Double Service Contents
-
short getShort ( ) ; get Short Service
Contents
-
longlong getLonglong ( ) ; get Longlong (64 bit) Service
Contents
-
char* getString ( ) ; Get String Service Contents
-
int getSize ( ) ; Get the Service Size.
-
virtual void infoHandler
( ) ; To be overloaded if Handler specified
Usage :
DimUpdatedInfo can be used exactly like DimInfo: