C# Class Universe.Modules.Archivers.ArchiveWriteRequestPreparation

Prepare to write out an archive.
ファイルを表示 Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Property Type Description
m_checkPermissions string
m_requestId System.Guid
m_saveStream Stream
m_scene IScene

Public Methods

Method 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

Method 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 method

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

ArchiveWriteRequestPreparation() public method

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
return System

ArchiveWriteRequestPreparation() public method

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
return System

Property Details

m_checkPermissions protected_oe property

protected string m_checkPermissions
return string

m_requestId protected_oe property

protected Guid,System m_requestId
return System.Guid

m_saveStream protected_oe property

protected Stream m_saveStream
return Stream

m_scene protected_oe property

protected IScene m_scene
return IScene