C# 클래스 Universe.RedisServices.AssetService.AssetService

상속: Universe.Framework.Services.ConnectorBase, IAssetService, IService
파일 보기 프로젝트 열기: Virtual-Universe/Virtual-Universe

보호된 프로퍼티들

프로퍼티 타입 설명
doDatabaseCaching bool
m_assetService IAssetDataPlugin
m_connectionDNS string
m_connectionPassword string
m_connectionPool Pool>
m_connectionPort int
m_enabled bool
m_migrateSQL bool

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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

메소드 상세

Configure() 공개 메소드

public Configure ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
리턴 void

FinishedStartup() 공개 메소드

public FinishedStartup ( ) : void
리턴 void

Get() 공개 메소드

public Get ( string id, object sender, AssetRetrieved handler ) : void
id string
sender object
handler AssetRetrieved
리턴 void

GetCached() 공개 메소드

public GetCached ( string id ) : AssetBase
id string
리턴 Universe.Framework.Services.ClassHelpers.Assets.AssetBase

GetMesh() 공개 메소드

public GetMesh ( string id ) : AssetBase
id string
리턴 Universe.Framework.Services.ClassHelpers.Assets.AssetBase

HandleDeleteAsset() 보호된 메소드

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

HandleGetAsset() 보호된 메소드

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

HandleMigrateSQLAssets() 보호된 메소드

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

HandleShowDigest() 보호된 메소드

Handles the show digest command.
protected HandleShowDigest ( IScene scene, string args ) : void
scene IScene Scene.
args string Arguments.
리턴 void

Initialize() 공개 메소드

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
리턴 void

RedisDeleteAsset() 공개 메소드

public RedisDeleteAsset ( string id ) : void
id string
리턴 void

RedisExistsAsset() 공개 메소드

public RedisExistsAsset ( string id ) : bool
id string
리턴 bool

RedisGetAsset() 공개 메소드

public RedisGetAsset ( string id ) : AssetBase
id string
리턴 Universe.Framework.Services.ClassHelpers.Assets.AssetBase

RedisSetAsset() 공개 메소드

public RedisSetAsset ( AssetBase asset ) : bool
asset Universe.Framework.Services.ClassHelpers.Assets.AssetBase
리턴 bool

Start() 공개 메소드

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
리턴 void

프로퍼티 상세

doDatabaseCaching 보호되어 있는 프로퍼티

protected bool doDatabaseCaching
리턴 bool

m_assetService 보호되어 있는 프로퍼티

protected IAssetDataPlugin m_assetService
리턴 IAssetDataPlugin

m_connectionDNS 보호되어 있는 프로퍼티

protected string m_connectionDNS
리턴 string

m_connectionPassword 보호되어 있는 프로퍼티

protected string m_connectionPassword
리턴 string

m_connectionPool 보호되어 있는 프로퍼티

protected Pool> m_connectionPool
리턴 Pool>

m_connectionPort 보호되어 있는 프로퍼티

protected int m_connectionPort
리턴 int

m_enabled 보호되어 있는 프로퍼티

protected bool m_enabled
리턴 bool

m_migrateSQL 보호되어 있는 프로퍼티

protected bool m_migrateSQL
리턴 bool