Brightsign Object Reference Manual (FW 5.1) Uživatelský manuál Strana 183

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 341
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 182
1 2 ... 178 179 180 181 182 183 184 185 186 187 188 ... 340 341

Komentáře k této Příručce

Žádné komentáře