C# Class Universe.Services.CapsService

Inheritance: ICapsService, IService
Show file Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Property Type Description
m_ClientCapsServices IClientCapsService>.Dictionary
m_RegionCapsServices IRegionCapsService>.Dictionary
m_registry IRegistryCore
m_server IHttpServer

Public Methods

Method Description
AddCapsForRegion ( UUID regionID ) : void

Create a caps handler for the given region

CreateCAPS ( UUID agentID, string capsBase, UUID regionID, bool isRootAgent, AgentCircuitData circuitData, uint port ) : string

Create a Caps URL for the given user/region. Called normally by the EventQueueService or the LLLoginService on login

FinishedStartup ( ) : void
GetCapsForRegion ( UUID regionID ) : IRegionCapsService

Get a region handler for the given region

GetClientCapsService ( UUID agentID ) : IClientCapsService

Get a Caps Service for the given client

GetClientsCapsServices ( ) : List
GetOrCreateClientCapsService ( UUID agentID ) : IClientCapsService

Get or create a new Caps Service for the given client Note: This does not add them to a region if one is created.

GetRegionsCapsServices ( ) : List
Initialize ( IConfigSource config, IRegistryCore registry ) : void
RemoveCAPS ( UUID agentID ) : void

Remove the all of the user's CAPS from the system

RemoveCapsForRegion ( UUID regionID ) : void

Remove the handler for the given region

Start ( IConfigSource config, IRegistryCore registry ) : void

Protected Methods

Method Description
ShowUsers ( IScene scene, string cmd ) : void

Method Details

AddCapsForRegion() public method

Create a caps handler for the given region
public AddCapsForRegion ( UUID regionID ) : void
regionID UUID
return void

CreateCAPS() public method

Create a Caps URL for the given user/region. Called normally by the EventQueueService or the LLLoginService on login
public CreateCAPS ( UUID agentID, string capsBase, UUID regionID, bool isRootAgent, AgentCircuitData circuitData, uint port ) : string
agentID UUID
capsBase string
regionID UUID
isRootAgent bool Will this child be a root agent
circuitData Universe.Framework.PresenceInfo.AgentCircuitData
port uint The port to use for the CAPS service
return string

FinishedStartup() public method

public FinishedStartup ( ) : void
return void

GetCapsForRegion() public method

Get a region handler for the given region
public GetCapsForRegion ( UUID regionID ) : IRegionCapsService
regionID UUID
return IRegionCapsService

GetClientCapsService() public method

Get a Caps Service for the given client
public GetClientCapsService ( UUID agentID ) : IClientCapsService
agentID UUID
return IClientCapsService

GetClientsCapsServices() public method

public GetClientsCapsServices ( ) : List
return List

GetOrCreateClientCapsService() public method

Get or create a new Caps Service for the given client Note: This does not add them to a region if one is created.
public GetOrCreateClientCapsService ( UUID agentID ) : IClientCapsService
agentID UUID
return IClientCapsService

GetRegionsCapsServices() public method

public GetRegionsCapsServices ( ) : List
return List

Initialize() public method

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
return void

RemoveCAPS() public method

Remove the all of the user's CAPS from the system
public RemoveCAPS ( UUID agentID ) : void
agentID UUID
return void

RemoveCapsForRegion() public method

Remove the handler for the given region
public RemoveCapsForRegion ( UUID regionID ) : void
regionID UUID
return void

ShowUsers() protected method

protected ShowUsers ( IScene scene, string cmd ) : void
scene IScene
cmd string
return void

Start() public method

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
return void

Property Details

m_ClientCapsServices protected property

A list of all clients and their Client Caps Handlers
protected Dictionary m_ClientCapsServices
return IClientCapsService>.Dictionary

m_RegionCapsServices protected property

A list of all regions Caps Services
protected Dictionary m_RegionCapsServices
return IRegionCapsService>.Dictionary

m_registry protected property

protected IRegistryCore m_registry
return IRegistryCore

m_server protected property

protected IHttpServer m_server
return IHttpServer