Brightsign Object Reference Manual (FW 5.1) Manual de usuario Pagina 145

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 341
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 144
137
roDiskMonitor
This object provides access to low-level information about disk errors. It provides an event-based interface that
delivers roDiskErrorEvent objects via roMessageport. Error messages are held for five seconds before delivery to
minimize the chance of spurious error reports. Errors are not reported if the disk is removed during this five second
interval because disk-removal detection takes several seconds. This allows for long-term monitoring of occasional media
errors.
This object uses the ifSetMessagePort interface to select the event destination.
Object Creation: The roDiskMonitor object is created with no parameters.
CreateObject("roDiskMonitor")
Interfaces: ifSetMessagePort, ifUserData
The ifSetMessagePort interface provides the following:
SetPort(a As Object)
The ifUserData interface provides the following:
SetUserData(user_data As Object): Sets the user data that will be returned when events are raised.
GetUserData() As Object: Returns the user data that has previously been set via SetUserData(). It will
return Invalid if no data has been set.
Example:
diskmon=CreateObject("roDiskMonitor")
Vista de pagina 144
1 2 ... 140 141 142 143 144 145 146 147 148 149 150 ... 340 341

Comentarios a estos manuales

Sin comentarios