C# Класс 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.
Наследование: IUserAgentService
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
m_BypassClientVerification bool
m_GatekeeperConnector OpenSim.Services.Connectors.Hypergrid.GatekeeperServiceConnector
m_GatekeeperService IGatekeeperService
m_GridName string
m_GridService IGridService
m_GridUserService IGridUserService

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
SetClientIP ( UUID sessionID, string ip ) : void
UpdateTravelInfo ( AgentCircuitData agentCircuit, GridRegion region ) : TravelingAgentInfo

Описание методов

AgentIsComingHome() публичный Метод

public AgentIsComingHome ( UUID sessionID, string thisGridExternalName ) : bool
sessionID UUID
thisGridExternalName string
Результат bool

GetHomeRegion() публичный Метод

public GetHomeRegion ( UUID userID, System.Vector3 &position, System.Vector3 &lookAt ) : GridRegion
userID UUID
position System.Vector3
lookAt System.Vector3
Результат OpenSim.Services.Interfaces.GridRegion

LoginAgentToGrid() публичный Метод

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
Результат bool

LoginAgentToGrid() публичный Метод

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
Результат bool

LogoutAgent() публичный Метод

public LogoutAgent ( UUID userID, UUID sessionID ) : void
userID UUID
sessionID UUID
Результат void

UserAgentService() публичный Метод

public UserAgentService ( IConfigSource config ) : System
config IConfigSource
Результат System

VerifyAgent() публичный Метод

public VerifyAgent ( UUID sessionID, string token ) : bool
sessionID UUID
token string
Результат bool

VerifyClient() публичный Метод

public VerifyClient ( UUID sessionID, string reportedIP ) : bool
sessionID UUID
reportedIP string
Результат bool

Описание свойств

m_BypassClientVerification защищенное статическое свойство

protected static bool m_BypassClientVerification
Результат bool

m_GatekeeperConnector защищенное статическое свойство

protected static GatekeeperServiceConnector,OpenSim.Services.Connectors.Hypergrid m_GatekeeperConnector
Результат OpenSim.Services.Connectors.Hypergrid.GatekeeperServiceConnector

m_GatekeeperService защищенное статическое свойство

protected static IGatekeeperService m_GatekeeperService
Результат IGatekeeperService

m_GridName защищенное статическое свойство

protected static string m_GridName
Результат string

m_GridService защищенное статическое свойство

protected static IGridService m_GridService
Результат IGridService

m_GridUserService защищенное статическое свойство

protected static IGridUserService m_GridUserService
Результат IGridUserService