C# Class Universe.RedisServices.AssetService.AssetService

Inheritance: Universe.Framework.Services.ConnectorBase, IAssetService, IService
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Свойство Type Description
doDatabaseCaching bool
m_assetService IAssetDataPlugin
m_connectionDNS string
m_connectionPassword string
m_connectionPool Pool>
m_connectionPort int
m_enabled bool
m_migrateSQL bool

Méthodes publiques

Méthode Description
Configure ( IConfigSource config, IRegistryCore registry ) : void
FinishedStartup ( ) : void
Get ( string id, object sender, AssetRetrieved handler ) : void
GetCached ( string id ) : AssetBase
GetMesh ( string id ) : AssetBase
Initialize ( IConfigSource config, IRegistryCore registry ) : void
RedisDeleteAsset ( string id ) : void
RedisExistsAsset ( string id ) : bool
RedisGetAsset ( string id ) : AssetBase
RedisSetAsset ( AssetBase asset ) : bool
Start ( IConfigSource config, IRegistryCore registry ) : void

Méthodes protégées

Méthode Description
HandleDeleteAsset ( IScene scene, string args ) : void

Handles the delete asset command.

HandleGetAsset ( IScene scene, string args ) : void

Handles the get asset command.

HandleMigrateSQLAssets ( IScene scene, string args ) : void

Handles enable/disable of the migrate SQL setting.

HandleShowDigest ( IScene scene, string args ) : void

Handles the show digest command.

Private Methods

Méthode Description
CheckForConversion ( string id ) : AssetBase
Delete ( UUID id ) : bool
Get ( string id ) : AssetBase
Get ( string id, bool showWarnings ) : AssetBase
GetData ( string id ) : byte[]
GetExists ( string id ) : bool
RedisEnsureConnection ( Func func ) : bool
RedisEnsureConnection ( Func func ) : byte[]
Store ( AssetBase asset ) : UUID
UpdateContent ( UUID id, byte data ) : UUID

Method Details

Configure() public méthode

public Configure ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Résultat void

FinishedStartup() public méthode

public FinishedStartup ( ) : void
Résultat void

Get() public méthode

public Get ( string id, object sender, AssetRetrieved handler ) : void
id string
sender object
handler AssetRetrieved
Résultat void

GetCached() public méthode

public GetCached ( string id ) : AssetBase
id string
Résultat Universe.Framework.Services.ClassHelpers.Assets.AssetBase

GetMesh() public méthode

public GetMesh ( string id ) : AssetBase
id string
Résultat Universe.Framework.Services.ClassHelpers.Assets.AssetBase

HandleDeleteAsset() protected méthode

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

HandleGetAsset() protected méthode

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

HandleMigrateSQLAssets() protected méthode

Handles enable/disable of the migrate SQL setting.
protected HandleMigrateSQLAssets ( IScene scene, string args ) : void
scene IScene Scene.
args string Arguments.
Résultat void

HandleShowDigest() protected méthode

Handles the show digest command.
protected HandleShowDigest ( IScene scene, string args ) : void
scene IScene Scene.
args string Arguments.
Résultat void

Initialize() public méthode

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Résultat void

RedisDeleteAsset() public méthode

public RedisDeleteAsset ( string id ) : void
id string
Résultat void

RedisExistsAsset() public méthode

public RedisExistsAsset ( string id ) : bool
id string
Résultat bool

RedisGetAsset() public méthode

public RedisGetAsset ( string id ) : AssetBase
id string
Résultat Universe.Framework.Services.ClassHelpers.Assets.AssetBase

RedisSetAsset() public méthode

public RedisSetAsset ( AssetBase asset ) : bool
asset Universe.Framework.Services.ClassHelpers.Assets.AssetBase
Résultat bool

Start() public méthode

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Résultat void

Property Details

doDatabaseCaching protected_oe property

protected bool doDatabaseCaching
Résultat bool

m_assetService protected_oe property

protected IAssetDataPlugin m_assetService
Résultat IAssetDataPlugin

m_connectionDNS protected_oe property

protected string m_connectionDNS
Résultat string

m_connectionPassword protected_oe property

protected string m_connectionPassword
Résultat string

m_connectionPool protected_oe property

protected Pool> m_connectionPool
Résultat Pool>

m_connectionPort protected_oe property

protected int m_connectionPort
Résultat int

m_enabled protected_oe property

protected bool m_enabled
Résultat bool

m_migrateSQL protected_oe property

protected bool m_migrateSQL
Résultat bool