OpenSim
|
Hypergrid asset service. It serves the IAssetService interface, but implements it in ways that are appropriate for inter-grid asset exchanges. More...
Public Member Functions | |
HGAssetService (IConfigSource config, string configName) | |
override AssetBase | Get (string id) |
Get an asset synchronously. More... | |
override AssetMetadata | GetMetadata (string id) |
Get an asset's metadata More... | |
override byte[] | GetData (string id) |
Get an asset's data, ignoring the metadata. More... | |
override string | Store (AssetBase asset) |
Creates a new asset More... | |
override bool | Delete (string id) |
Delete an asset More... | |
Public Member Functions inherited from OpenSim.Services.AssetService.AssetService | |
AssetService (IConfigSource config) | |
AssetService (IConfigSource config, string configName) | |
virtual AssetBase | GetCached (string id) |
Synchronously fetches an asset from the local cache only. More... | |
virtual 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 More... | |
virtual bool[] | AssetsExist (string[] ids) |
Check if assets exist in the database. More... | |
bool | UpdateContent (string id, byte[] data) |
Update an asset's content More... | |
Public Member Functions inherited from OpenSim.Services.AssetService.AssetServiceBase | |
AssetServiceBase (IConfigSource config) | |
AssetServiceBase (IConfigSource config, string configName) | |
Public Member Functions inherited from OpenSim.Services.Base.ServiceBase | |
T | LoadPlugin< T > (string dllName) |
T | LoadPlugin< T > (string dllName, Object[] args) |
T | LoadPlugin< T > (string dllName, string className, Object[] args) |
ServiceBase (IConfigSource config) | |
Protected Member Functions | |
void | AdjustIdentifiers (AssetMetadata meta) |
byte[] | AdjustIdentifiers (byte[] data) |
Additional Inherited Members | |
Protected Attributes inherited from OpenSim.Services.AssetService.AssetServiceBase | |
IAssetDataPlugin | m_Database = null |
IAssetLoader | m_AssetLoader = null |
string | m_ConfigName = "AssetService" |
Static Protected Attributes inherited from OpenSim.Services.AssetService.AssetService | |
static AssetService | m_RootInstance |
Hypergrid asset service. It serves the IAssetService interface, but implements it in ways that are appropriate for inter-grid asset exchanges.
Definition at line 50 of file HGAssetService.cs.
|
inline |
Definition at line 63 of file HGAssetService.cs.
|
inlineprotected |
Definition at line 169 of file HGAssetService.cs.
|
inlineprotected |
Definition at line 180 of file HGAssetService.cs.
|
inlinevirtual |
Delete an asset
id |
Reimplemented from OpenSim.Services.AssetService.AssetService.
Definition at line 161 of file HGAssetService.cs.
|
inlinevirtual |
Get an asset synchronously.
id |
Reimplemented from OpenSim.Services.AssetService.AssetService.
Definition at line 92 of file HGAssetService.cs.
|
inlinevirtual |
Get an asset's data, ignoring the metadata.
id |
Reimplemented from OpenSim.Services.AssetService.AssetService.
Definition at line 122 of file HGAssetService.cs.
|
inlinevirtual |
Get an asset's metadata
id |
Reimplemented from OpenSim.Services.AssetService.AssetService.
Definition at line 110 of file HGAssetService.cs.
|
inlinevirtual |
Creates a new asset
Returns a random ID if none is passed via the asset argument.
asset |
Reimplemented from OpenSim.Services.AssetService.AssetService.
Definition at line 145 of file HGAssetService.cs.