C# Класс OpenSim.ApplicationPlugins.Rest.Inventory.RestAppearanceServices

Наследование: IRest
Показать файл Открыть проект

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