OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OpenSim.Region.CoreModules.World.Archiver.AssetsDearchiver Class Reference

Dearchives assets More...

Collaboration diagram for OpenSim.Region.CoreModules.World.Archiver.AssetsDearchiver:
Collaboration graph
[legend]

Classes

struct  AssetMetadata
 Metadata for an asset More...
 

Public Member Functions

 AssetsDearchiver (IAssetService cache)
 
void AddAssetData (string assetFilename, byte[] data)
 Add asset data to the dearchiver More...
 
void AddAssetMetadata (string xml)
 Add asset metadata xml More...
 

Protected Member Functions

void ResolvePendingAssetData ()
 Resolve asset data that we collected before receiving the metadata More...
 
void ResolveAssetData (string assetPath, byte[] data)
 Resolve a new piece of asset data against stored metadata More...
 

Protected Attributes

Dictionary< string, byte[]> m_assetDataAwaitingMetadata = new Dictionary<string, byte[]>()
 Store for asset data we received before we get the metadata More...
 
Dictionary< string, AssetMetadatam_metadata
 Asset metadata. Is null if asset metadata isn't yet available. More...
 
IAssetService m_cache
 Cache to which dearchived assets will be added More...
 

Detailed Description

Dearchives assets

Definition at line 45 of file AssetsDearchiver.cs.

Constructor & Destructor Documentation

OpenSim.Region.CoreModules.World.Archiver.AssetsDearchiver.AssetsDearchiver ( IAssetService  cache)
inline

Definition at line 64 of file AssetsDearchiver.cs.

Member Function Documentation

void OpenSim.Region.CoreModules.World.Archiver.AssetsDearchiver.AddAssetData ( string  assetFilename,
byte[]  data 
)
inline

Add asset data to the dearchiver

Parameters
assetFilename
data

Definition at line 74 of file AssetsDearchiver.cs.

void OpenSim.Region.CoreModules.World.Archiver.AssetsDearchiver.AddAssetMetadata ( string  xml)
inline

Add asset metadata xml

Parameters
xml

Definition at line 90 of file AssetsDearchiver.cs.

void OpenSim.Region.CoreModules.World.Archiver.AssetsDearchiver.ResolveAssetData ( string  assetPath,
byte[]  data 
)
inlineprotected

Resolve a new piece of asset data against stored metadata

Parameters
assetFilename
data

Definition at line 142 of file AssetsDearchiver.cs.

void OpenSim.Region.CoreModules.World.Archiver.AssetsDearchiver.ResolvePendingAssetData ( )
inlineprotected

Resolve asset data that we collected before receiving the metadata

Definition at line 129 of file AssetsDearchiver.cs.

Member Data Documentation

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

Definition at line 52 of file AssetsDearchiver.cs.

IAssetService OpenSim.Region.CoreModules.World.Archiver.AssetsDearchiver.m_cache
protected

Cache to which dearchived assets will be added

Definition at line 62 of file AssetsDearchiver.cs.

Dictionary<string, AssetMetadata> OpenSim.Region.CoreModules.World.Archiver.AssetsDearchiver.m_metadata
protected

Asset metadata. Is null if asset metadata isn't yet available.

Definition at line 57 of file AssetsDearchiver.cs.


The documentation for this class was generated from the following file: