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
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Protected Properties

Свойство Type Description
RegisteredCAPS OSDMap
m_capsUrlBase string
m_clientCapsService IClientCapsService
m_isRootAgent bool
m_regionCapsService IRegionCapsService

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
AddCAPS ( ) : void
RemoveCAPS ( ) : void
RemoveCaps ( string method ) : void

Method Details

AddCAPS() protected méthode

protected AddCAPS ( ) : void
Résultat void

AddCAPS() public méthode

public AddCAPS ( OSDMap caps ) : void
caps OSDMap
Résultat void

AddCAPS() public méthode

public AddCAPS ( string method, string caps ) : void
method string
caps string
Résultat void

AddSEEDCap() public méthode

public AddSEEDCap ( string capsUrl2 ) : void
capsUrl2 string
Résultat void

AddStreamHandler() public méthode

public AddStreamHandler ( string method, IStreamedRequestHandler handler ) : void
method string
handler IStreamedRequestHandler
Résultat void

CapsRequest() public méthode

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
Résultat byte[]

Close() public méthode

public Close ( ) : void
Résultat void

CreateCAPS() public méthode

public CreateCAPS ( string method, string appendedPath ) : string
method string
appendedPath string
Résultat string

GetCAPS() public méthode

public GetCAPS ( ) : OSDMap
Résultat OSDMap

GetServiceConnectors() public méthode

public GetServiceConnectors ( ) : List
Résultat List

InformModulesOfRequest() public méthode

public InformModulesOfRequest ( ) : void
Résultat void

Initialize() public méthode

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
Résultat void

RemoveCAPS() protected méthode

protected RemoveCAPS ( ) : void
Résultat void

RemoveCaps() protected méthode

protected RemoveCaps ( string method ) : void
method string
Résultat void

RemoveStreamHandler() public méthode

public RemoveStreamHandler ( string method, string httpMethod ) : void
method string
httpMethod string
Résultat void

RemoveStreamHandler() public méthode

public RemoveStreamHandler ( string method, string httpMethod, string path ) : void
method string
httpMethod string
path string
Résultat void

Property Details

RegisteredCAPS protected_oe property

protected OSDMap RegisteredCAPS
Résultat OSDMap

m_capsUrlBase protected_oe property

This is the /CAPS/UUID 0000/ string
protected string m_capsUrlBase
Résultat string

m_clientCapsService protected_oe property

protected IClientCapsService m_clientCapsService
Résultat IClientCapsService

m_isRootAgent protected_oe property

protected bool m_isRootAgent
Résultat bool

m_regionCapsService protected_oe property

protected IRegionCapsService m_regionCapsService
Résultat IRegionCapsService