beautypg.com

Rourltransfer, E an – BrightSign Object Reference Manual (FW 5.1) User Manual

Page 249

background image

241

roUrlTransfer

This object is used for reading from and writing to remote servers through URLs. It reports transfer status using
the

roUrlEvent

object.


Object Creation: The roUrlTransfer object is created with no parameters.

CreateObject("roUrlTransfer")

Important: You must create a separate roUrlTransfer instance for each asset you wish to read/write.


Interfaces:

ifUserData

,

ifIdentity

,

ifSetMessagePort

,

ifGetMessagePort

,

ifUrlTransfer


The ifUserData interface provides the following:

SetUserData(user_data As Object): Associates an arbitrary object with the roUrlTransfer instance that is
provided via

roUrlEvent.GetUserData() when an event is generated.

GetUserData() As Object: Retrieves the arbitrary object set using SetUserData().


The ifIdentity interface provides the following:

GetIdentity As Integer: Returns a unique number that can be used to identify when events originate from
this object.


The ifSetMessagePort interface provides the following:

SetPort(port As ifMessagePort) As Void: Sets the message port to which events will be posted for
asynchronous requests.

The ifGetMessagePort interface provides the following: