C# Class Universe.Modules.Archivers.ArchiveWriteRequestPreparation

Prepare to write out an archive.
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Свойство Type Description
m_checkPermissions string
m_requestId System.Guid
m_saveStream Stream
m_scene IScene

Méthodes publiques

Méthode Description
ArchiveRegion ( ) : void

Archive the region requested.

ArchiveWriteRequestPreparation ( IScene scene, Stream saveStream, System.Guid requestId ) : System

Constructor.

ArchiveWriteRequestPreparation ( IScene scene, string savePath, System.Guid requestId, string checkPermissions ) : System

Constructor

Private Methods

Méthode Description
CanUserArchiveObject ( UUID user, ISceneEntity objGroup, string checkPermissions ) : bool

Checks whether the user has permission to export an object group to an OAR.

Method Details

ArchiveRegion() public méthode

Archive the region requested.
if there was an io problem with creating the file
public ArchiveRegion ( ) : void
Résultat void

ArchiveWriteRequestPreparation() public méthode

Constructor.
public ArchiveWriteRequestPreparation ( IScene scene, Stream saveStream, System.Guid requestId ) : System
scene IScene
saveStream Stream The stream to which to save data.
requestId System.Guid The id associated with this request
Résultat System

ArchiveWriteRequestPreparation() public méthode

Constructor
/// If there was a problem opening a stream for the file specified by the savePath ///
public ArchiveWriteRequestPreparation ( IScene scene, string savePath, System.Guid requestId, string checkPermissions ) : System
scene IScene
savePath string The path to which to save data.
requestId System.Guid The id associated with this request
checkPermissions string
Résultat System

Property Details

m_checkPermissions protected_oe property

protected string m_checkPermissions
Résultat string

m_requestId protected_oe property

protected Guid,System m_requestId
Résultat System.Guid

m_saveStream protected_oe property

protected Stream m_saveStream
Résultat Stream

m_scene protected_oe property

protected IScene m_scene
Résultat IScene