roSyncPool
We recommend using roAssetPool instead. BrightSign enables the http://, https://, ftp://, and file:// protocols.
Object Creation: The roSyncPool object is created with a single parameter that specifies the file path where the pool is located.
CreateObject("roSyncPool", pool_path As String)
Example
pool = CreateObject ("roSyncPool", "SD:/pool")
ifSyncPool
ValidateFiles(sync_spec As roSyncSpec, directory As String, options_array As roAssociativeArray) As Object
Validates the files in the specified directory against the hashes in the specified sync spec. Files that are not in the sync spec are ignored. The options array can currently contain the following optional parameters:
DelteCorrupt
 boolean: Automatically delete files that do not match the sync spec. The method will return an associative array that maps each filename to an explanation of why it is corrupt. The array only contains corrupt files, so the success is reported by the method returning an empty associative array.
GetFailureReason() As String
Â
AsyncDownload(a As Object) As Boolean
Â
AsyncCancel() As Boolean
Â
Realize(a As Object, b As String) As Object
Â
ProtectFiles(a As Object, b As Integer) As Boolean
Â
ReserveMegabytes(a As Integer) As Boolean
Â
GetPoolSizeInMegabytes() As Integer
Â
EstimateRealizedSizeInMegabytes(a As Object, b As String) As Integer
Â
IsReady(a As Object) As Boolean
Â
Validate(a As Object, b As Object) As Boolean
Â
EnablePeerVerification(a As Boolean)
Â
EnableHostVerification(a As Boolean)
Â
SetCertificatesFile(a As String)
Â
SetUserAndPassword(a As String, b As String) As Boolean
Â
AddHeader(a As String, b As String)
Â
SetHeaders(a As Object) As Boolean
Â
SetMinimumTransferRate(a As Integer, b As Integer) As Boolean
Â
AsyncSuggestCache(a As Object) As Boolean
Â
SetProxy(a As String) As Boolean
Â
SetProxyBypass(a As Array) As Boolean
Â
SetFileProgressIntervalSeconds(a As Integer) As Boolean
Â
QueryFiles(a As Object) As Object
Â
SetFileRetryCount(a As Integer) As Boolean
Â
SetRelativeLinkPrefix(prefix As String) As Boolean
Â
BindToInterface(interface As Integer) As Boolean
Â
EnableUnsafeAuthentication(a As Boolean)
Â
EnableUnsafeProxyAuthentication(enable As Boolean) As Boolean
Â
EnableEncodings(enable As Boolean) As Boolean
SetMaximumReceiveBytesPerSecond(bytes_per_second as Double) As Boolean
SetMaximumPoolSizeMegabytes(maximum_size As Integer) As Boolean
ifIdentity
GetIdentity() As Integer
The ifSourceIdentity interface has been deprecated. We recommend using the ifUserData interface instead.
ifMessagePort
SetPort(a As Object)
ifUserData
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.
Â
Â