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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 341
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 182
175
roAssetPool
An roAssetPool instance represents a pool of files for synchronization. You can instruct this object to populate the pool
based on a sync spec and then realize it in a specified directory when required.
Object Creation: The roAssetPool object is created with a single parameter representing the rooted path of the pool.
CreateObject("roAssetPool", pool_path As String)
Example:
pool = CreateObject ("roAssetPool", "SD:/pool")
Interfaces: ifAssetPool
The ifAssetPool interface provides the following:
GetFailureReason() As String
ProtectAssets(name As String, collection As Object) As Boolean: Requests that the files
specified in the "download" section of a sync spec receive a certain amount of protection. Specified files will not be
deleted when the system software needs to reduce the size of the pool to make space.
UnprotectAssets(name As String) As Boolean: Removes the protected status placed on the specified
files by the ProtectAssets() method. Asset collections are reference counted at the system-software level. As a
result, when calling UnprotectAssets(), you must pass the same object that you previously passed to
ProtectAssets().
UnprotectAllAssets() As Boolean
Vista de pagina 182
1 2 ... 178 179 180 181 182 183 184 185 186 187 188 ... 340 341

Comentarios a estos manuales

Sin comentarios