Public Member Functions | |
| AssetsDearchiver (IAssetService cache) | |
| void | AddAssetData (string assetFilename, byte[] data) |
| Add asset data to the dearchiver. | |
| void | AddAssetMetadata (string xml) |
| Add asset metadata xml. | |
Protected Member Functions | |
| void | ResolvePendingAssetData () |
| Resolve asset data that we collected before receiving the metadata. | |
| void | ResolveAssetData (string assetPath, byte[] data) |
| Resolve a new piece of asset data against stored metadata. | |
Protected Attributes | |
| Dictionary< string, byte[]> | m_assetDataAwaitingMetadata = new Dictionary<string, byte[]>() |
| Store for asset data we received before we get the metadata. | |
| Dictionary< string, AssetMetadata > | m_metadata |
| Asset metadata. Is null if asset metadata isn't yet available. | |
| IAssetService | m_cache |
| Cache to which dearchived assets will be added. | |
Static Protected Attributes | |
| static ASCIIEncoding | m_asciiEncoding = new ASCIIEncoding() |
Classes | |
| struct | AssetMetadata |
| Metadata for an asset. More... | |
| OpenSim::Region::CoreModules::World::Archiver::AssetsDearchiver::AssetsDearchiver | ( | IAssetService | cache | ) | [inline] |
| void OpenSim::Region::CoreModules::World::Archiver::AssetsDearchiver::AddAssetData | ( | string | assetFilename, | |
| byte[] | data | |||
| ) | [inline] |
Add asset data to the dearchiver.
| assetFilename | ||
| data |
| void OpenSim::Region::CoreModules::World::Archiver::AssetsDearchiver::AddAssetMetadata | ( | string | xml | ) | [inline] |
Add asset metadata xml.
| xml |
| void OpenSim::Region::CoreModules::World::Archiver::AssetsDearchiver::ResolvePendingAssetData | ( | ) | [inline, protected] |
Resolve asset data that we collected before receiving the metadata.
| void OpenSim::Region::CoreModules::World::Archiver::AssetsDearchiver::ResolveAssetData | ( | string | assetPath, | |
| byte[] | data | |||
| ) | [inline, protected] |
Resolve a new piece of asset data against stored metadata.
| assetFilename | ||
| data |
ASCIIEncoding OpenSim::Region::CoreModules::World::Archiver::AssetsDearchiver::m_asciiEncoding = new ASCIIEncoding() [static, protected] |
Dictionary<string, byte[]> OpenSim::Region::CoreModules::World::Archiver::AssetsDearchiver::m_assetDataAwaitingMetadata = new Dictionary<string, byte[]>() [protected] |
Store for asset data we received before we get the metadata.
Dictionary<string, AssetMetadata> OpenSim::Region::CoreModules::World::Archiver::AssetsDearchiver::m_metadata [protected] |
Asset metadata. Is null if asset metadata isn't yet available.
Cache to which dearchived assets will be added.
1.5.6