Main Page | Features | Central Services | csv-Files | Types | Transfer | Access | API-C | API-.NET | API-Java | Examples | Downloads
page generated on 31.05.2023 - 04:45
Public Member Functions | List of all members
de.desy.tine.server.equipment.TPropertySignalHandler Interface Reference

The property signal handler interface. More...

Public Member Functions

void handler (int signal, String property, TContract con, int status)
 The property signal handler function. More...
 
void setMask (int mask)
 Sets the mask of property signals which should be used to raise the signal. More...
 
int getMask ()
 

Detailed Description

The property signal handler interface.

A property signal handler can be registered for a given equipment module in order to intercept and react to various processing signals relevant to the property being accessed.

Author
duval

Member Function Documentation

◆ getMask()

int de.desy.tine.server.equipment.TPropertySignalHandler.getMask ( )
Returns
the mask of property signals which should be used to raise the signal. This should be one of or a combination of the signal bit definitions in TPropertySignal:

TPropertySignal.PS_ACCESS,
TPropertySignal.PS_RETRY,
TPropertySignal.PS_LATE,
TPropertySignal.PS_PENDING,
TPropertySignal.PS_SENT,
TPropertySignal.PS_CALLED,
TPropertySignal.PS_PROCESSED,
TPropertySignal.PS_SCHEDULED,
or TPropertySignal.PS_ALL

◆ handler()

void de.desy.tine.server.equipment.TPropertySignalHandler.handler ( int  signal,
String  property,
TContract  con,
int  status 
)

The property signal handler function.

Parameters
signalis the specific signal bit(s) causing the signal to be raised.
propertyis the property string being accessed.
conis the contract being accessed (if known at the time of the signal, otherwise a null variable).
statusis the call status at the time of the signal.
See also
TEquipmentModule.registerPropertySignalHandler()
TPropertySignal for definitions of the property signal bits

◆ setMask()

void de.desy.tine.server.equipment.TPropertySignalHandler.setMask ( int  mask)

Sets the mask of property signals which should be used to raise the signal.

This should be one of or a combination of the signal bit definitions in TPropertySignal:

TPropertySignal.PS_ACCESS,
TPropertySignal.PS_RETRY,
TPropertySignal.PS_LATE,
TPropertySignal.PS_PENDING,
TPropertySignal.PS_SENT,
TPropertySignal.PS_CALLED,
TPropertySignal.PS_PROCESSED,
TPropertySignal.PS_SCHEDULED,
or TPropertySignal.PS_ALL

Parameters
maskis a mask containing any of the allowed property signal bits. The mask value of 0 is equivalent to PS_ALL. In order to turn off the property signal dispatch one should set the handler to 'null'.

The documentation for this interface was generated from the following file: