C# Class Universe.Services.SQLServices.AssetService.AssetService

Inheritance: Universe.Framework.Services.ConnectorBase, IAssetService, IService
Exibir arquivo Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Property Type Description
doDatabaseCaching bool
m_database IAssetDataPlugin

Public Methods

Method Description
Configure ( IConfigSource config, IRegistryCore registry ) : void
FinishedStartup ( ) : void
Initialize ( IConfigSource config, IRegistryCore registry ) : void
Start ( IConfigSource config, IRegistryCore registry ) : void

Protected Methods

Method Description
HandleDeleteAsset ( IScene scene, string args ) : void

Handles the delete asset command.

HandleGetAsset ( IScene scene, string args ) : void

Handles the get asset command.

HandleShowDigest ( IScene scene, string args ) : void

Handles the show digest command.

Private Methods

Method Description
Delete ( UUID id ) : bool
Get ( string id ) : AssetBase
Get ( string id, bool showWarnings ) : AssetBase
Get ( string id, object sender, AssetRetrieved handler ) : void
GetCached ( string id ) : AssetBase
GetData ( string id ) : byte[]
GetExists ( string id ) : bool
GetMesh ( string id ) : AssetBase
Store ( AssetBase asset ) : UUID
UpdateContent ( UUID id, byte data ) : UUID

Method Details

Configure() public method

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

FinishedStartup() public method

public FinishedStartup ( ) : void
return void

HandleDeleteAsset() protected method

Handles the delete asset command.
protected HandleDeleteAsset ( IScene scene, string args ) : void
scene IScene Scene.
args string Arguments.
return void

HandleGetAsset() protected method

Handles the get asset command.
protected HandleGetAsset ( IScene scene, string args ) : void
scene IScene Scene.
args string Arguments.
return void

HandleShowDigest() protected method

Handles the show digest command.
protected HandleShowDigest ( IScene scene, string args ) : void
scene IScene Scene.
args string Arguments.
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

Property Details

doDatabaseCaching protected_oe property

protected bool doDatabaseCaching
return bool

m_database protected_oe property

protected IAssetDataPlugin m_database
return IAssetDataPlugin