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.TEquipmentBackgroundTask Class Reference

Servers wishing to register a background IO task should extend TEquipmentBackgroundTask. More...

Public Member Functions

 TEquipmentBackgroundTask (TEquipmentModule eqm, long interval)
 Create a background task with the specified inteval and assign it to the specified equipment module. More...
 
boolean isIdleState ()
 Returns the current idle state.
 
void setIdleState (boolean value)
 Sets the idle state to the value given.
 
void call ()
 Is the background dispatch routine.
 
void startup ()
 Is the initialization dispatch routine.
 
void setBackgroundTaskInterval (long msec)
 Sets the background interval to the value given.
 
long getBackgroundTaskInterval ()
 Returns the background interval.
 

Detailed Description

Servers wishing to register a background IO task should extend TEquipmentBackgroundTask.

Author
duval

Constructor & Destructor Documentation

◆ TEquipmentBackgroundTask()

de.desy.tine.server.equipment.TEquipmentBackgroundTask.TEquipmentBackgroundTask ( TEquipmentModule  eqm,
long  interval 
)

Create a background task with the specified inteval and assign it to the specified equipment module.

Parameters
eqmis the reference to an equipment module to be associated with the task
intervalis the timer interval in milliseconds of the task

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