C# 클래스 OpenSim.ApplicationPlugins.Rest.Inventory.RestAppearanceServices

상속: IRest
파일 보기 프로젝트 열기: N3X15/VoxelSim

Private Properties

프로퍼티 타입 설명
Allocate RequestData
DoAppearance void
FormatPart void
FormatUserAppearance void
GetUserAppearance bool

공개 메소드들

메소드 설명
Close ( ) : void

Called by the plug-in to halt service processing. Local processing is disabled.

Initialize ( ) : void

Post-construction, pre-enabled initialization opportunity Not currently exploited.

RestAppearanceServices ( ) : System

The constructor makes sure that the service prefix is absolute and the registers the service handler and the allocator.

비공개 메소드들

메소드 설명
Allocate ( OpenSim.Framework.Servers.HttpServer.OSHttpRequest request, OpenSim.Framework.Servers.HttpServer.OSHttpResponse response, string prefix ) : RequestData

The plugin (RestHandler) calls this method to allocate the request state carrier for a new request. It is destroyed when the request completes. All request-instance specific state is kept here. This is registered when this service provider is registered.

DoAppearance ( RequestData hdata ) : void

This method is registered with the handler when this service provider is initialized. It is called whenever the plug-in identifies this service provider as the best match for a given request. It handles all aspects of inventory REST processing, i.e. /admin/inventory

FormatPart ( AppearanceRequestData rdata, string part, UUID item, UUID asset ) : void
FormatUserAppearance ( AppearanceRequestData rdata ) : void
GetUserAppearance ( AppearanceRequestData rdata ) : bool

Delete the specified user's appearance. This actually performs a reset to the default avatar appearance, if the info is already there. Existing ownership is preserved. All prior updates are lost and can not be recovered.

메소드 상세

Close() 공개 메소드

Called by the plug-in to halt service processing. Local processing is disabled.
public Close ( ) : void
리턴 void

Initialize() 공개 메소드

Post-construction, pre-enabled initialization opportunity Not currently exploited.
public Initialize ( ) : void
리턴 void

RestAppearanceServices() 공개 메소드

The constructor makes sure that the service prefix is absolute and the registers the service handler and the allocator.
public RestAppearanceServices ( ) : System
리턴 System