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
Show file Open project: RevolutionSmythe/Aurora-HG-Plugin

Protected Properties

Property 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

Public Methods

Method 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

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

Method Details

AgentIsComingHome() public method

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

FinishedStartup() public method

public FinishedStartup ( ) : void
return void

GetHomeRegion() public method

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

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

GetOnlineFriends() public method

public GetOnlineFriends ( UUID foreignUserID, List friends ) : List
foreignUserID UUID
friends List
return List

GetServerURLs() public method

public GetServerURLs ( UUID userID ) : object>.Dictionary
userID UUID
return object>.Dictionary

GetUUI() public method

public GetUUI ( UUID userID, UUID targetUserID ) : string
userID UUID
targetUserID UUID
return string

GetUserInfo() public method

public GetUserInfo ( UUID userID ) : object>.Dictionary
userID UUID
return object>.Dictionary

Initialize() public method

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

LocateUser() public method

public LocateUser ( UUID userID ) : string
userID UUID
return string

LoginAgentToGrid() public method

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
return bool

LoginAgentToGrid() public method

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
return bool

LogoutAgent() public method

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

RemoteStatusNotification() public method

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

Start() public method

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

StatusNotification() public method

public StatusNotification ( List friends, UUID foreignUserID, bool online ) : List
friends List
foreignUserID UUID
online bool
return List

VerifyAgent() public method

public VerifyAgent ( Aurora.Framework.AgentCircuitData circuit ) : bool
circuit Aurora.Framework.AgentCircuitData
return bool

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 static property

protected static bool m_BypassClientVerification
return bool

m_FriendsService protected static property

protected static IFriendsService m_FriendsService
return IFriendsService

m_GatekeeperConnector protected static property

protected static GatekeeperServiceConnector,Aurora.Addon.HyperGrid m_GatekeeperConnector
return GatekeeperServiceConnector

m_GatekeeperService protected static property

protected static IGatekeeperService m_GatekeeperService
return IGatekeeperService

m_GridName protected static property

protected static string m_GridName
return string

m_GridService protected static property

protected static IGridService m_GridService
return IGridService

m_PresenceService protected static property

protected static IAgentInfoService m_PresenceService
return IAgentInfoService

m_UserAccountService protected static property

protected static IUserAccountService m_UserAccountService
return IUserAccountService

m_asyncPostService protected static property

protected static IAsyncMessagePostService m_asyncPostService
return IAsyncMessagePostService

m_registry protected static property

protected static IRegistryCore m_registry
return IRegistryCore