C# Class OpenSim.Framework.Capabilities.CapsHandlers

CapsHandlers is a cap handler container but also takes care of adding and removing cap handlers to and from the supplied BaseHttpServer.
显示文件 Open project: N3X15/VoxelSim Class Usage Examples

Public Methods

Method Description
CapsHandlers ( OpenSim.Framework.Servers.HttpServer.BaseHttpServer httpListener, string httpListenerHostname, uint httpListenerPort ) : System.Collections

CapsHandlers ( IHttpServer httpListener, string httpListenerHostname, uint httpListenerPort, bool https ) : System.Collections

ContainsCap ( string cap ) : bool
Remove ( string capsName ) : void

Remove the cap handler for a capability.

this ( string idx ) : IRequestHandler

The indexer allows us to treat the CapsHandlers object in an intuitive dictionary like way.

Method Details

CapsHandlers() public method

public CapsHandlers ( OpenSim.Framework.Servers.HttpServer.BaseHttpServer httpListener, string httpListenerHostname, uint httpListenerPort ) : System.Collections
httpListener OpenSim.Framework.Servers.HttpServer.BaseHttpServer base HTTP server
httpListenerHostname string host name of the HTTP /// server
httpListenerPort uint HTTP port
return System.Collections

CapsHandlers() public method

public CapsHandlers ( IHttpServer httpListener, string httpListenerHostname, uint httpListenerPort, bool https ) : System.Collections
httpListener IHttpServer base HTTP server
httpListenerHostname string host name of the HTTP /// server
httpListenerPort uint HTTP port
https bool
return System.Collections

ContainsCap() public method

public ContainsCap ( string cap ) : bool
cap string
return bool

Remove() public method

Remove the cap handler for a capability.
public Remove ( string capsName ) : void
capsName string name of the capability of the cap /// handler to be removed
return void

this() public method

The indexer allows us to treat the CapsHandlers object in an intuitive dictionary like way.
public this ( string idx ) : IRequestHandler
idx string
return IRequestHandler