C# Class OpenSim.Services.Connectors.SimianGrid.SimianAssetServiceConnector

Connects to the SimianGrid asset service
Inheritance: IAssetService, IService
Mostrar archivo Open project: openmetaversefoundation/fortis-opensim Class Usage Examples

Public Methods

Method Description
AddRegion ( Scene scene ) : void
Close ( ) : void
Delete ( string id ) : bool

Delete an asset

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

Get an asset asynchronously

GetCached ( string id ) : AssetBase
GetData ( string id ) : byte[]
GetMetadata ( string id ) : AssetMetadata

Get an asset's metadata

Initialise ( IConfigSource source ) : void
PostInitialise ( ) : void
RegionLoaded ( Scene scene ) : void
RemoveRegion ( Scene scene ) : void
SimianAssetServiceConnector ( ) : System
SimianAssetServiceConnector ( IConfigSource source ) : System
SimianAssetServiceConnector ( string url ) : System
Store ( AssetBase asset ) : string

Creates a new asset

UpdateContent ( string id, byte data ) : bool

Update an asset's content

Private Methods

Method Description
CommonInit ( IConfigSource source ) : void
GetRemote ( string id ) : AssetBase

Method Details

AddRegion() public method

public AddRegion ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene
return void

Close() public method

public Close ( ) : void
return void

Delete() public method

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

Get() public method

public Get ( string id ) : AssetBase
id string
return AssetBase

Get() public method

Get an asset asynchronously
public Get ( string id, Object sender, AssetRetrieved handler ) : bool
id string The asset id
sender Object Represents the requester. Passed back via the handler
handler AssetRetrieved The handler to call back once the asset has been retrieved
return bool

GetCached() public method

public GetCached ( string id ) : AssetBase
id string
return AssetBase

GetData() public method

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

GetMetadata() public method

Get an asset's metadata
public GetMetadata ( string id ) : AssetMetadata
id string
return AssetMetadata

Initialise() public method

public Initialise ( IConfigSource source ) : void
source IConfigSource
return void

PostInitialise() public method

public PostInitialise ( ) : void
return void

RegionLoaded() public method

public RegionLoaded ( Scene scene ) : void
scene Scene
return void

RemoveRegion() public method

public RemoveRegion ( Scene scene ) : void
scene Scene
return void

SimianAssetServiceConnector() public method

public SimianAssetServiceConnector ( ) : System
return System

SimianAssetServiceConnector() public method

public SimianAssetServiceConnector ( IConfigSource source ) : System
source IConfigSource
return System

SimianAssetServiceConnector() public method

public SimianAssetServiceConnector ( string url ) : System
url string
return System

Store() public method

Creates a new asset
public Store ( AssetBase asset ) : string
asset AssetBase
return string

UpdateContent() public method

Update an asset's content
public UpdateContent ( string id, byte data ) : bool
id string
data byte
return bool