C# Class OpenSim.Services.RegApiHTTPHandler

Inheritance: OpenSim.Framework.Servers.HttpServer.BaseStreamHandler
Show file Open project: aurora-sim/Aurora-Sim-Optional-Modules

Public Properties

Property Type Description
m_lastNameRegistry string>.Dictionary

Protected Properties

Property Type Description
m_registry IRegistryCore
m_server IHttpServer

Public Methods

Method Description
Handle ( string path, Stream requestData, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
RegApiHTTPHandler ( IRegistryCore reg, IHttpServer s ) : System

Private Methods

Method Description
AddCapsUrls ( OSDMap resp, UserAccount account ) : void
AddSpecificUrl ( string type ) : string

Creates a cap for the given type

AddUserToGroup ( OSDMap map ) : OSD
CheckName ( OSDMap map ) : OSD
CreateUser ( OSDMap map ) : OSD

Creates a user TODO: Does not implement the restrict to estate option

GetErrorCode ( OSDMap map ) : OSD
GetLastNames ( OSDMap map ) : OSD
ProcessLogin ( OSDMap map ) : byte[]

Method Details

Handle() public method

public Handle ( string path, Stream requestData, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
path string
requestData Stream
httpRequest OSHttpRequest
httpResponse OSHttpResponse
return byte[]

RegApiHTTPHandler() public method

public RegApiHTTPHandler ( IRegistryCore reg, IHttpServer s ) : System
reg IRegistryCore
s IHttpServer
return System

Property Details

m_lastNameRegistry public property

public Dictionary m_lastNameRegistry
return string>.Dictionary

m_registry protected property

protected IRegistryCore m_registry
return IRegistryCore

m_server protected property

protected IHttpServer m_server
return IHttpServer