C# Class OpenSim.Services.HypergridService.UserAgentService

This service is for HG1.5 only, to make up for the fact that clients don't keep any private information in themselves, and that their 'home service' needs to do it for them. Once we have better clients, this shouldn't be needed.
Inheritance: IUserAgentService
显示文件 Open project: openmetaversefoundation/fortis-opensim

Protected Properties

Property Type Description
m_BypassClientVerification bool
m_GatekeeperConnector OpenSim.Services.Connectors.Hypergrid.GatekeeperServiceConnector
m_GatekeeperService IGatekeeperService
m_GridName string
m_GridService IGridService
m_GridUserService IGridUserService

Public Methods

Method Description
AgentIsComingHome ( UUID sessionID, string thisGridExternalName ) : bool
GetHomeRegion ( UUID userID, System.Vector3 &position, System.Vector3 &lookAt ) : GridRegion
LoginAgentToGrid ( AgentCircuitData agentCircuit, GridRegion gatekeeper, GridRegion finalDestination, IPEndPoint clientIP, string &reason ) : bool
LoginAgentToGrid ( AgentCircuitData agentCircuit, GridRegion gatekeeper, GridRegion finalDestination, string &reason ) : bool
LogoutAgent ( UUID userID, UUID sessionID ) : void
UserAgentService ( IConfigSource config ) : System
VerifyAgent ( UUID sessionID, string token ) : bool
VerifyClient ( UUID sessionID, string reportedIP ) : bool

Private Methods

Method Description
SetClientIP ( UUID sessionID, string ip ) : void
UpdateTravelInfo ( AgentCircuitData agentCircuit, GridRegion region ) : TravelingAgentInfo

Method Details

AgentIsComingHome() public method

public AgentIsComingHome ( UUID sessionID, string thisGridExternalName ) : bool
sessionID UUID
thisGridExternalName string
return bool

GetHomeRegion() public method

public GetHomeRegion ( UUID userID, System.Vector3 &position, System.Vector3 &lookAt ) : GridRegion
userID UUID
position System.Vector3
lookAt System.Vector3
return OpenSim.Services.Interfaces.GridRegion

LoginAgentToGrid() public method

public LoginAgentToGrid ( AgentCircuitData agentCircuit, GridRegion gatekeeper, GridRegion finalDestination, IPEndPoint clientIP, string &reason ) : bool
agentCircuit OpenSim.Framework.AgentCircuitData
gatekeeper OpenSim.Services.Interfaces.GridRegion
finalDestination OpenSim.Services.Interfaces.GridRegion
clientIP System.Net.IPEndPoint
reason string
return bool

LoginAgentToGrid() public method

public LoginAgentToGrid ( AgentCircuitData agentCircuit, GridRegion gatekeeper, GridRegion finalDestination, string &reason ) : bool
agentCircuit OpenSim.Framework.AgentCircuitData
gatekeeper OpenSim.Services.Interfaces.GridRegion
finalDestination OpenSim.Services.Interfaces.GridRegion
reason string
return bool

LogoutAgent() public method

public LogoutAgent ( UUID userID, UUID sessionID ) : void
userID UUID
sessionID UUID
return void

UserAgentService() public method

public UserAgentService ( IConfigSource config ) : System
config IConfigSource
return System

VerifyAgent() public method

public VerifyAgent ( UUID sessionID, string token ) : bool
sessionID UUID
token string
return bool

VerifyClient() public method

public VerifyClient ( UUID sessionID, string reportedIP ) : bool
sessionID UUID
reportedIP string
return bool

Property Details

m_BypassClientVerification protected_oe static_oe property

protected static bool m_BypassClientVerification
return bool

m_GatekeeperConnector protected_oe static_oe property

protected static GatekeeperServiceConnector,OpenSim.Services.Connectors.Hypergrid m_GatekeeperConnector
return OpenSim.Services.Connectors.Hypergrid.GatekeeperServiceConnector

m_GatekeeperService protected_oe static_oe property

protected static IGatekeeperService m_GatekeeperService
return IGatekeeperService

m_GridName protected_oe static_oe property

protected static string m_GridName
return string

m_GridService protected_oe static_oe property

protected static IGridService m_GridService
return IGridService

m_GridUserService protected_oe static_oe property

protected static IGridUserService m_GridUserService
return IGridUserService