
Public Member Functions | |
| AssetServicesConnector () | |
| AssetServicesConnector (string serverURI) | |
| AssetServicesConnector (IConfigSource source) | |
| virtual void | Initialise (IConfigSource source) |
| AssetBase | Get (string id) |
| Get an asset synchronously. | |
| AssetBase | GetCached (string id) |
| Synchronously fetches an asset from the local cache only. | |
| AssetMetadata | GetMetadata (string id) |
| Get an asset's metadata. | |
| byte[] | GetData (string id) |
| Get an asset's data, ignoring the metadata. | |
| bool | Get (string id, Object sender, AssetRetrieved handler) |
| Get an asset synchronously or asynchronously (depending on whether it is locally cached) and fire a callback with the fetched asset. | |
| string | Store (AssetBase asset) |
| Creates a new asset. | |
| bool | UpdateContent (string id, byte[] data) |
| Update an asset's content. | |
| bool | Delete (string id) |
| Delete an asset. | |
Protected Member Functions | |
| void | SetCache (IImprovedAssetCache cache) |
| OpenSim::Services::Connectors::AssetServicesConnector::AssetServicesConnector | ( | ) | [inline] |
| OpenSim::Services::Connectors::AssetServicesConnector::AssetServicesConnector | ( | string | serverURI | ) | [inline] |
| OpenSim::Services::Connectors::AssetServicesConnector::AssetServicesConnector | ( | IConfigSource | source | ) | [inline] |
| virtual void OpenSim::Services::Connectors::AssetServicesConnector::Initialise | ( | IConfigSource | source | ) | [inline, virtual] |
| void OpenSim::Services::Connectors::AssetServicesConnector::SetCache | ( | IImprovedAssetCache | cache | ) | [inline, protected] |
| AssetBase OpenSim::Services::Connectors::AssetServicesConnector::Get | ( | string | id | ) | [inline] |
Get an asset synchronously.
| id |
Implements OpenSim::Services::Interfaces::IAssetService.
| AssetBase OpenSim::Services::Connectors::AssetServicesConnector::GetCached | ( | string | id | ) | [inline] |
Synchronously fetches an asset from the local cache only.
| id | Asset ID |
Implements OpenSim::Services::Interfaces::IAssetService.
| AssetMetadata OpenSim::Services::Connectors::AssetServicesConnector::GetMetadata | ( | string | id | ) | [inline] |
Get an asset's metadata.
| id |
Implements OpenSim::Services::Interfaces::IAssetService.
| byte [] OpenSim::Services::Connectors::AssetServicesConnector::GetData | ( | string | id | ) | [inline] |
Get an asset's data, ignoring the metadata.
| id |
Implements OpenSim::Services::Interfaces::IAssetService.
| bool OpenSim::Services::Connectors::AssetServicesConnector::Get | ( | string | id, | |
| Object | sender, | |||
| AssetRetrieved | handler | |||
| ) | [inline] |
Get an asset synchronously or asynchronously (depending on whether it is locally cached) and fire a callback with the fetched asset.
| id | The asset id | |
| sender | Represents the requester. Passed back via the handler | |
| handler | The handler to call back once the asset has been retrieved |
Implements OpenSim::Services::Interfaces::IAssetService.
| string OpenSim::Services::Connectors::AssetServicesConnector::Store | ( | AssetBase | asset | ) | [inline] |
Creates a new asset.
Returns a random ID if none is passed via the asset argument.
| asset |
Implements OpenSim::Services::Interfaces::IAssetService.
| bool OpenSim::Services::Connectors::AssetServicesConnector::UpdateContent | ( | string | id, | |
| byte[] | data | |||
| ) | [inline] |
Update an asset's content.
Attachments and bare scripts need this!!
| id | ||
| data |
Implements OpenSim::Services::Interfaces::IAssetService.
| bool OpenSim::Services::Connectors::AssetServicesConnector::Delete | ( | string | id | ) | [inline] |
1.5.6