C# Class OpenSim.Services.AssetService.AssetService

Inheritance: Aurora.Framework.ConnectorBase, IAssetService, IService
Show file Open project: openmetaversefoundation/fortis-opensim Class Usage Examples

Public Methods

Method Description
AssetService ( IConfigSource config ) : System
Delete ( string id ) : bool
Get ( string id ) : Aurora.Framework.AssetBase
Get ( string id, Object sender, AssetRetrieved handler ) : bool
GetCached ( string id ) : Aurora.Framework.AssetBase
GetData ( string id ) : byte[]
GetMetadata ( string id ) : AssetMetadata
Store ( Aurora.Framework.AssetBase asset ) : string
UpdateContent ( string id, byte data ) : bool

Private Methods

Method Description
HandleDeleteAsset ( string module, string args ) : void
HandleShowDigest ( string module, string args ) : void

Method Details

AssetService() public method

public AssetService ( IConfigSource config ) : System
config IConfigSource
return System

Delete() public method

public Delete ( string id ) : bool
id string
return bool

Get() public method

public Get ( string id ) : Aurora.Framework.AssetBase
id string
return Aurora.Framework.AssetBase

Get() public method

public Get ( string id, Object sender, AssetRetrieved handler ) : bool
id string
sender Object
handler AssetRetrieved
return bool

GetCached() public method

public GetCached ( string id ) : Aurora.Framework.AssetBase
id string
return Aurora.Framework.AssetBase

GetData() public method

public GetData ( string id ) : byte[]
id string
return byte[]

GetMetadata() public method

public GetMetadata ( string id ) : AssetMetadata
id string
return AssetMetadata

Store() public method

public Store ( Aurora.Framework.AssetBase asset ) : string
asset Aurora.Framework.AssetBase
return string

UpdateContent() public method

public UpdateContent ( string id, byte data ) : bool
id string
data byte
return bool