C# Class OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.InventoryArchiveWriteRequest

Datei anzeigen Open project: N3X15/VoxelSim Class Usage Examples

Protected Properties

Property Type Description
m_archiveWriter TarArchiveWriter
m_assetGatherer UuidGatherer
m_assetUuids AssetType>.Dictionary
m_id Guid
m_scene Scene
m_userUuids int>.Dictionary

Public Methods

Method Description
Create0p1ControlFile ( ) : string

Create the control file for a 0.1 version archive

CreateArchiveFolderName ( OpenSim.Framework.InventoryFolderBase folder ) : string

Create the archive name for a particular folder.

CreateArchiveFolderName ( string name, UUID id ) : string

Create an archive folder name given its constituent components

CreateArchiveItemName ( OpenSim.Framework.InventoryItemBase item ) : string

Create the archive name for a particular item.

CreateArchiveItemName ( string name, UUID id ) : string

Create an archive item name given its constituent components

Execute ( ) : void

Execute the inventory write request

InventoryArchiveWriteRequest ( Guid id, InventoryArchiverModule module, Scene scene, UserAccount userInfo, string invPath, Stream saveStream ) : System

Constructor

InventoryArchiveWriteRequest ( Guid id, InventoryArchiverModule module, Scene scene, UserAccount userInfo, string invPath, string savePath ) : System

Constructor

Protected Methods

Method Description
ReceivedAllAssets ( ICollection assetsFoundUuids, ICollection assetsNotFoundUuids ) : void
SaveInvFolder ( InventoryFolderBase inventoryFolder, string path, bool saveThisFolderItself ) : void

Save an inventory folder

SaveInvItem ( InventoryItemBase inventoryItem, string path ) : void
SaveUsers ( ) : void

Save information for the users that we've collected.

Method Details

Create0p1ControlFile() public static method

Create the control file for a 0.1 version archive
public static Create0p1ControlFile ( ) : string
return string

CreateArchiveFolderName() public static method

Create the archive name for a particular folder.
public static CreateArchiveFolderName ( OpenSim.Framework.InventoryFolderBase folder ) : string
folder OpenSim.Framework.InventoryFolderBase
return string

CreateArchiveFolderName() public static method

Create an archive folder name given its constituent components
public static CreateArchiveFolderName ( string name, UUID id ) : string
name string
id UUID
return string

CreateArchiveItemName() public static method

Create the archive name for a particular item.
public static CreateArchiveItemName ( OpenSim.Framework.InventoryItemBase item ) : string
item OpenSim.Framework.InventoryItemBase
return string

CreateArchiveItemName() public static method

Create an archive item name given its constituent components
public static CreateArchiveItemName ( string name, UUID id ) : string
name string
id UUID
return string

Execute() public method

Execute the inventory write request
public Execute ( ) : void
return void

InventoryArchiveWriteRequest() public method

Constructor
public InventoryArchiveWriteRequest ( Guid id, InventoryArchiverModule module, Scene scene, UserAccount userInfo, string invPath, Stream saveStream ) : System
id Guid
module InventoryArchiverModule
scene Scene
userInfo UserAccount
invPath string
saveStream Stream
return System

InventoryArchiveWriteRequest() public method

Constructor
public InventoryArchiveWriteRequest ( Guid id, InventoryArchiverModule module, Scene scene, UserAccount userInfo, string invPath, string savePath ) : System
id Guid
module InventoryArchiverModule
scene Scene
userInfo UserAccount
invPath string
savePath string
return System

ReceivedAllAssets() protected method

protected ReceivedAllAssets ( ICollection assetsFoundUuids, ICollection assetsNotFoundUuids ) : void
assetsFoundUuids ICollection
assetsNotFoundUuids ICollection
return void

SaveInvFolder() protected method

Save an inventory folder
protected SaveInvFolder ( InventoryFolderBase inventoryFolder, string path, bool saveThisFolderItself ) : void
inventoryFolder InventoryFolderBase The inventory folder to save
path string The path to which the folder should be saved
saveThisFolderItself bool If true, save this folder itself. If false, only saves contents
return void

SaveInvItem() protected method

protected SaveInvItem ( InventoryItemBase inventoryItem, string path ) : void
inventoryItem InventoryItemBase
path string
return void

SaveUsers() protected method

Save information for the users that we've collected.
protected SaveUsers ( ) : void
return void

Property Details

m_archiveWriter protected_oe property

protected TarArchiveWriter m_archiveWriter
return TarArchiveWriter

m_assetGatherer protected_oe property

protected UuidGatherer m_assetGatherer
return UuidGatherer

m_assetUuids protected_oe property

protected Dictionary m_assetUuids
return AssetType>.Dictionary

m_id protected_oe property

protected Guid m_id
return Guid

m_scene protected_oe property

protected Scene m_scene
return Scene

m_userUuids protected_oe property

protected Dictionary m_userUuids
return int>.Dictionary