OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Protected Member Functions | List of all members
OpenSim.Services.HypergridService.GatekeeperService Class Reference
Inheritance diagram for OpenSim.Services.HypergridService.GatekeeperService:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Services.HypergridService.GatekeeperService:
Collaboration graph
[legend]

Public Member Functions

 GatekeeperService (IConfigSource config, ISimulationService simService)
 
 GatekeeperService (IConfigSource config)
 
bool LinkRegion (string regionName, out UUID regionID, out ulong regionHandle, out string externalName, out string imageURL, out string reason)
 
GridRegion GetHyperlinkRegion (UUID regionID, UUID agentID, string agentHomeURI, out string message)
 Returns the region a Hypergrid visitor should enter. More...
 
bool LoginAgent (GridRegion source, AgentCircuitData aCircuit, GridRegion destination, out string reason)
 

Protected Member Functions

void LoadDomainExceptionsFromConfig (IConfig config, string variable, List< string > exceptions)
 
bool Authenticate (AgentCircuitData aCircuit)
 
bool CheckAddress (string serviceToken)
 

Detailed Description

Definition at line 47 of file GatekeeperService.cs.

Constructor & Destructor Documentation

OpenSim.Services.HypergridService.GatekeeperService.GatekeeperService ( IConfigSource  config,
ISimulationService  simService 
)
inline

Definition at line 75 of file GatekeeperService.cs.

OpenSim.Services.HypergridService.GatekeeperService.GatekeeperService ( IConfigSource  config)
inline

Definition at line 151 of file GatekeeperService.cs.

Member Function Documentation

bool OpenSim.Services.HypergridService.GatekeeperService.Authenticate ( AgentCircuitData  aCircuit)
inlineprotected

Definition at line 465 of file GatekeeperService.cs.

bool OpenSim.Services.HypergridService.GatekeeperService.CheckAddress ( string  serviceToken)
inlineprotected

Definition at line 508 of file GatekeeperService.cs.

GridRegion OpenSim.Services.HypergridService.GatekeeperService.GetHyperlinkRegion ( UUID  regionID,
UUID  agentID,
string  agentHomeURI,
out string  message 
)
inline

Returns the region a Hypergrid visitor should enter.

Usually the returned region will be the requested region. But the grid can choose to redirect the user to another region: e.g., a default gateway region.

Parameters
regionIDThe region the visitor wants to enter
agentIDThe visitor's User ID. Will be missing (UUID.Zero) in older OpenSims.
agentHomeURIThe visitor's Home URI. Will be missing (null) in older OpenSims.
message[out] A message to show to the user (optional, may be null)
Returns
The region the visitor should enter, or null if no region can be found / is allowed

Implements OpenSim.Services.Interfaces.IGatekeeperService.

Definition at line 210 of file GatekeeperService.cs.

bool OpenSim.Services.HypergridService.GatekeeperService.LinkRegion ( string  regionName,
out UUID  regionID,
out ulong  regionHandle,
out string  externalName,
out string  imageURL,
out string  reason 
)
inline
void OpenSim.Services.HypergridService.GatekeeperService.LoadDomainExceptionsFromConfig ( IConfig  config,
string  variable,
List< string >  exceptions 
)
inlineprotected

Definition at line 156 of file GatekeeperService.cs.

bool OpenSim.Services.HypergridService.GatekeeperService.LoginAgent ( GridRegion  source,
AgentCircuitData  aCircuit,
GridRegion  destination,
out string  reason 
)
inline

The documentation for this class was generated from the following file: