Class: |
DimCurrentInfo |
Library: |
DIM |
|
Author: |
C. Gaspar |
|
Version: |
v1.0 |
Update :Thu Feb 11 15:52:46
1999 |
Descrition :
To be used by DIM clients - implements blocking
DIM service reception
DimCurrentInfo constructors subscribe to DIM
services.
Required Parameters:
the Service Name and the value to receive when service not available
The methods get() wait for the Service to arrive
if it has not arrived yet. Once the service contents
are received the Service is discarded (The client
disconnects from the server).
Constructors :
-
public DimCurrentInfo ( char * name,
int nolink) ; Integer (or Integer Array) Service
-
public DimCurrentInfo ( char * name,
float nolink) ; Float (or Float Array) Service
-
public DimCurrentInfo ( char * name,
double nolink) ; Double (or Double Array) Service
-
public DimCurrentInfo ( char * name, String nolink) ; String Service
Destructors :
-
public releaseService ( ) ;
Public Functions :
-
int getInt ( ) ; Get Integer Service
contents
-
float getFloat ( ) ; Get Float Service
Contents
-
double getDouble ( ) ; get Double Service
Contents
-
string getString ( ) ; Get String Service
contents
-
int[] getIntArray ( ) ; Get Integer Array Service
contents
-
float[] getFloatArray ( ) ; Get Float Array Service
Contents
-
double[] getDoubleArray ( ) ; get Double Array Service
Contents
Usage :
Example:
DimCurrentInfo runNumber = new DimCurrentInfo("DELPHI/RUN_NUMBER",-1);
System.out.println(runNumber.getInt());
Last update : 02/11/99 17:42:12 by MkHelp
1.1.0