C# 클래스 OpenSim.Services.Connectors.SimianGrid.SimianAssetServiceConnector

Connects to the SimianGrid asset service
상속: IAssetService, IService
파일 보기 프로젝트 열기: openmetaversefoundation/fortis-opensim 1 사용 예제들

공개 메소드들

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

비공개 메소드들

메소드 설명
CommonInit ( IConfigSource source ) : void
GetRemote ( string id ) : AssetBase

메소드 상세

AddRegion() 공개 메소드

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

Close() 공개 메소드

public Close ( ) : void
리턴 void

Delete() 공개 메소드

Delete an asset
public Delete ( string id ) : bool
id string
리턴 bool

Get() 공개 메소드

public Get ( string id ) : AssetBase
id string
리턴 AssetBase

Get() 공개 메소드

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
리턴 bool

GetCached() 공개 메소드

public GetCached ( string id ) : AssetBase
id string
리턴 AssetBase

GetData() 공개 메소드

public GetData ( string id ) : byte[]
id string
리턴 byte[]

GetMetadata() 공개 메소드

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

Initialise() 공개 메소드

public Initialise ( IConfigSource source ) : void
source IConfigSource
리턴 void

PostInitialise() 공개 메소드

public PostInitialise ( ) : void
리턴 void

RegionLoaded() 공개 메소드

public RegionLoaded ( Scene scene ) : void
scene Scene
리턴 void

RemoveRegion() 공개 메소드

public RemoveRegion ( Scene scene ) : void
scene Scene
리턴 void

SimianAssetServiceConnector() 공개 메소드

public SimianAssetServiceConnector ( ) : System
리턴 System

SimianAssetServiceConnector() 공개 메소드

public SimianAssetServiceConnector ( IConfigSource source ) : System
source IConfigSource
리턴 System

SimianAssetServiceConnector() 공개 메소드

public SimianAssetServiceConnector ( string url ) : System
url string
리턴 System

Store() 공개 메소드

Creates a new asset
public Store ( AssetBase asset ) : string
asset AssetBase
리턴 string

UpdateContent() 공개 메소드

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