C# Class Aurora.Addon.HyperGrid.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, IService
Afficher le fichier Open project: RevolutionSmythe/Aurora-HG-Plugin

Protected Properties

Свойство Type Description
m_BypassClientVerification bool
m_FriendsService IFriendsService
m_GatekeeperConnector GatekeeperServiceConnector
m_GatekeeperService IGatekeeperService
m_GridName string
m_GridService IGridService
m_PresenceService IAgentInfoService
m_UserAccountService IUserAccountService
m_asyncPostService IAsyncMessagePostService
m_registry IRegistryCore

Méthodes publiques

Méthode Description
AgentIsComingHome ( UUID sessionID, string thisGridExternalName ) : bool
FinishedStartup ( ) : void
GetHomeRegion ( Aurora.Framework.AgentCircuitData circuit, System.Vector3 &position, System.Vector3 &lookAt ) : GridRegion
GetHomeRegion ( UUID userID, System.Vector3 &position, System.Vector3 &lookAt ) : GridRegion
GetOnlineFriends ( UUID foreignUserID, List friends ) : List
GetServerURLs ( UUID userID ) : object>.Dictionary
GetUUI ( UUID userID, UUID targetUserID ) : string
GetUserInfo ( UUID userID ) : object>.Dictionary
Initialize ( IConfigSource config, IRegistryCore registry ) : void
LocateUser ( UUID userID ) : string
LoginAgentToGrid ( Aurora.Framework.AgentCircuitData agentCircuit, GridRegion gatekeeper, GridRegion finalDestination, IPEndPoint clientIP, string &reason ) : bool
LoginAgentToGrid ( Aurora.Framework.AgentCircuitData agentCircuit, GridRegion gatekeeper, GridRegion finalDestination, string &reason ) : bool
LogoutAgent ( UUID userID, UUID sessionID ) : void
RemoteStatusNotification ( OpenSim.Services.Interfaces.FriendInfo friend, UUID userID, bool online ) : bool
Start ( IConfigSource config, IRegistryCore registry ) : void
StatusNotification ( List friends, UUID foreignUserID, bool online ) : List
VerifyAgent ( Aurora.Framework.AgentCircuitData circuit ) : bool
VerifyAgent ( UUID sessionID, string token ) : bool
VerifyClient ( UUID sessionID, string reportedIP ) : bool

Private Methods

Méthode Description
SetClientIP ( UUID sessionID, string ip ) : void
UpdateTravelInfo ( Aurora.Framework.AgentCircuitData agentCircuit, GridRegion region ) : TravelingAgentInfo

Method Details

AgentIsComingHome() public méthode

public AgentIsComingHome ( UUID sessionID, string thisGridExternalName ) : bool
sessionID UUID
thisGridExternalName string
Résultat bool

FinishedStartup() public méthode

public FinishedStartup ( ) : void
Résultat void

GetHomeRegion() public méthode

public GetHomeRegion ( Aurora.Framework.AgentCircuitData circuit, System.Vector3 &position, System.Vector3 &lookAt ) : GridRegion
circuit Aurora.Framework.AgentCircuitData
position System.Vector3
lookAt System.Vector3
Résultat OpenSim.Services.Interfaces.GridRegion

GetHomeRegion() public méthode

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

GetOnlineFriends() public méthode

public GetOnlineFriends ( UUID foreignUserID, List friends ) : List
foreignUserID UUID
friends List
Résultat List

GetServerURLs() public méthode

public GetServerURLs ( UUID userID ) : object>.Dictionary
userID UUID
Résultat object>.Dictionary

GetUUI() public méthode

public GetUUI ( UUID userID, UUID targetUserID ) : string
userID UUID
targetUserID UUID
Résultat string

GetUserInfo() public méthode

public GetUserInfo ( UUID userID ) : object>.Dictionary
userID UUID
Résultat object>.Dictionary

Initialize() public méthode

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Résultat void

LocateUser() public méthode

public LocateUser ( UUID userID ) : string
userID UUID
Résultat string

LoginAgentToGrid() public méthode

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

LoginAgentToGrid() public méthode

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

LogoutAgent() public méthode

public LogoutAgent ( UUID userID, UUID sessionID ) : void
userID UUID
sessionID UUID
Résultat void

RemoteStatusNotification() public méthode

public RemoteStatusNotification ( OpenSim.Services.Interfaces.FriendInfo friend, UUID userID, bool online ) : bool
friend OpenSim.Services.Interfaces.FriendInfo
userID UUID
online bool
Résultat bool

Start() public méthode

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Résultat void

StatusNotification() public méthode

public StatusNotification ( List friends, UUID foreignUserID, bool online ) : List
friends List
foreignUserID UUID
online bool
Résultat List

VerifyAgent() public méthode

public VerifyAgent ( Aurora.Framework.AgentCircuitData circuit ) : bool
circuit Aurora.Framework.AgentCircuitData
Résultat bool

VerifyAgent() public méthode

public VerifyAgent ( UUID sessionID, string token ) : bool
sessionID UUID
token string
Résultat bool

VerifyClient() public méthode

public VerifyClient ( UUID sessionID, string reportedIP ) : bool
sessionID UUID
reportedIP string
Résultat bool

Property Details

m_BypassClientVerification protected_oe static_oe property

protected static bool m_BypassClientVerification
Résultat bool

m_FriendsService protected_oe static_oe property

protected static IFriendsService m_FriendsService
Résultat IFriendsService

m_GatekeeperConnector protected_oe static_oe property

protected static GatekeeperServiceConnector,Aurora.Addon.HyperGrid m_GatekeeperConnector
Résultat GatekeeperServiceConnector

m_GatekeeperService protected_oe static_oe property

protected static IGatekeeperService m_GatekeeperService
Résultat IGatekeeperService

m_GridName protected_oe static_oe property

protected static string m_GridName
Résultat string

m_GridService protected_oe static_oe property

protected static IGridService m_GridService
Résultat IGridService

m_PresenceService protected_oe static_oe property

protected static IAgentInfoService m_PresenceService
Résultat IAgentInfoService

m_UserAccountService protected_oe static_oe property

protected static IUserAccountService m_UserAccountService
Résultat IUserAccountService

m_asyncPostService protected_oe static_oe property

protected static IAsyncMessagePostService m_asyncPostService
Résultat IAsyncMessagePostService

m_registry protected_oe static_oe property

protected static IRegistryCore m_registry
Résultat IRegistryCore