C# Class Universe.Modules.Archivers.InventoryArchiverModule

This module loads and saves OpenSimulator inventory archives
Inheritance: IService, IInventoryArchiverModule
Mostra file Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Protected Properties

Property Type Description
m_pendingConsoleSaves List

Public Methods

Method Description
ArchiveInventory ( System.Guid id, string firstName, string lastName, string invPath, Stream saveStream ) : bool
ArchiveInventory ( System.Guid id, string firstName, string lastName, string invPath, Stream saveStream, object>.Dictionary options ) : bool
ArchiveInventory ( System.Guid id, string firstName, string lastName, string invPath, string savePath, object>.Dictionary options ) : bool
DearchiveInventory ( string firstName, string lastName, string invPath, string loadPath, object>.Dictionary options ) : bool
FinishedStartup ( ) : void
GetIARFilenames ( ) : List
Initialize ( IConfigSource config, IRegistryCore registry ) : void
Start ( IConfigSource config, IRegistryCore registry ) : void

Protected Methods

Method Description
HandleLoadIARConsoleCommand ( IScene scene, string cmdparams ) : void

Load inventory from an inventory file archive

HandleSaveIARConsoleCommand ( IScene scene, string cmdparams ) : void

Save inventory to a file archive

TriggerInventoryArchiveSaved ( System.Guid id, bool succeeded, UserAccount userInfo, string invPath, Stream saveStream, Exception reportedException ) : void

Trigger the inventory archive saved event.

Private Methods

Method Description
SaveIARConsoleCommandCompleted ( System.Guid id, bool succeeded, UserAccount userInfo, string invPath, Stream saveStream, Exception reportedException ) : void

Method Details

ArchiveInventory() public method

public ArchiveInventory ( System.Guid id, string firstName, string lastName, string invPath, Stream saveStream ) : bool
id System.Guid
firstName string
lastName string
invPath string
saveStream Stream
return bool

ArchiveInventory() public method

public ArchiveInventory ( System.Guid id, string firstName, string lastName, string invPath, Stream saveStream, object>.Dictionary options ) : bool
id System.Guid
firstName string
lastName string
invPath string
saveStream Stream
options object>.Dictionary
return bool

ArchiveInventory() public method

public ArchiveInventory ( System.Guid id, string firstName, string lastName, string invPath, string savePath, object>.Dictionary options ) : bool
id System.Guid
firstName string
lastName string
invPath string
savePath string
options object>.Dictionary
return bool

DearchiveInventory() public method

public DearchiveInventory ( string firstName, string lastName, string invPath, string loadPath, object>.Dictionary options ) : bool
firstName string
lastName string
invPath string
loadPath string
options object>.Dictionary
return bool

FinishedStartup() public method

public FinishedStartup ( ) : void
return void

GetIARFilenames() public method

public GetIARFilenames ( ) : List
return List

HandleLoadIARConsoleCommand() protected method

Load inventory from an inventory file archive
protected HandleLoadIARConsoleCommand ( IScene scene, string cmdparams ) : void
scene IScene
cmdparams string
return void

HandleSaveIARConsoleCommand() protected method

Save inventory to a file archive
protected HandleSaveIARConsoleCommand ( IScene scene, string cmdparams ) : void
scene IScene
cmdparams string
return void

Initialize() public method

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
return void

Start() public method

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
return void

TriggerInventoryArchiveSaved() protected method

Trigger the inventory archive saved event.
protected TriggerInventoryArchiveSaved ( System.Guid id, bool succeeded, UserAccount userInfo, string invPath, Stream saveStream, Exception reportedException ) : void
id System.Guid
succeeded bool
userInfo Universe.Framework.Services.UserAccount
invPath string
saveStream Stream
reportedException System.Exception
return void

Property Details

m_pendingConsoleSaves protected_oe property

protected List m_pendingConsoleSaves
return List