C# Class Universe.Services.PerRegionClientCapsService

CapsHandlers is a cap handler container but also takes care of adding and removing cap handlers to and from the supplied BaseHttpServer.
Inheritance: IRegionClientCapsService
Mostra file Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Protected Properties

Property Type Description
RegisteredCAPS OSDMap
m_capsUrlBase string
m_clientCapsService IClientCapsService
m_isRootAgent bool
m_regionCapsService IRegionCapsService

Public Methods

Method Description
AddCAPS ( OSDMap caps ) : void
AddCAPS ( string method, string caps ) : void
AddSEEDCap ( string capsUrl2 ) : void
AddStreamHandler ( string method, IStreamedRequestHandler handler ) : void
CapsRequest ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
Close ( ) : void
CreateCAPS ( string method, string appendedPath ) : string
GetCAPS ( ) : OSDMap
GetServiceConnectors ( ) : List
InformModulesOfRequest ( ) : void
Initialize ( IClientCapsService clientCapsService, IRegionCapsService regionCapsService, string capsBase, AgentCircuitData circuitData, uint port ) : void
RemoveStreamHandler ( string method, string httpMethod ) : void
RemoveStreamHandler ( string method, string httpMethod, string path ) : void

Protected Methods

Method Description
AddCAPS ( ) : void
RemoveCAPS ( ) : void
RemoveCaps ( string method ) : void

Method Details

AddCAPS() protected method

protected AddCAPS ( ) : void
return void

AddCAPS() public method

public AddCAPS ( OSDMap caps ) : void
caps OSDMap
return void

AddCAPS() public method

public AddCAPS ( string method, string caps ) : void
method string
caps string
return void

AddSEEDCap() public method

public AddSEEDCap ( string capsUrl2 ) : void
capsUrl2 string
return void

AddStreamHandler() public method

public AddStreamHandler ( string method, IStreamedRequestHandler handler ) : void
method string
handler IStreamedRequestHandler
return void

CapsRequest() public method

public CapsRequest ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse Universe.Framework.Servers.HttpServer.Implementation.OSHttpResponse
return byte[]

Close() public method

public Close ( ) : void
return void

CreateCAPS() public method

public CreateCAPS ( string method, string appendedPath ) : string
method string
appendedPath string
return string

GetCAPS() public method

public GetCAPS ( ) : OSDMap
return OSDMap

GetServiceConnectors() public method

public GetServiceConnectors ( ) : List
return List

InformModulesOfRequest() public method

public InformModulesOfRequest ( ) : void
return void

Initialize() public method

public Initialize ( IClientCapsService clientCapsService, IRegionCapsService regionCapsService, string capsBase, AgentCircuitData circuitData, uint port ) : void
clientCapsService IClientCapsService
regionCapsService IRegionCapsService
capsBase string
circuitData Universe.Framework.PresenceInfo.AgentCircuitData
port uint
return void

RemoveCAPS() protected method

protected RemoveCAPS ( ) : void
return void

RemoveCaps() protected method

protected RemoveCaps ( string method ) : void
method string
return void

RemoveStreamHandler() public method

public RemoveStreamHandler ( string method, string httpMethod ) : void
method string
httpMethod string
return void

RemoveStreamHandler() public method

public RemoveStreamHandler ( string method, string httpMethod, string path ) : void
method string
httpMethod string
path string
return void

Property Details

RegisteredCAPS protected_oe property

protected OSDMap RegisteredCAPS
return OSDMap

m_capsUrlBase protected_oe property

This is the /CAPS/UUID 0000/ string
protected string m_capsUrlBase
return string

m_clientCapsService protected_oe property

protected IClientCapsService m_clientCapsService
return IClientCapsService

m_isRootAgent protected_oe property

protected bool m_isRootAgent
return bool

m_regionCapsService protected_oe property

protected IRegionCapsService m_regionCapsService
return IRegionCapsService