C# Class Universe.Services.LLLoginService

Inheritance: ILoginService, IService
Show file Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Property Type Description
LoginModules List
classifiedCategories System.Collections.ArrayList
eventCategories System.Collections.ArrayList
m_AllowAnonymousLogin bool
m_AllowDuplicateLogin bool
m_AllowRemoteSetLoginLevel bool
m_ArchiveService IAvatarAppearanceArchiver
m_AssetService IAssetService
m_AuthenticationService IAuthenticationService
m_AvatarService IAvatarService
m_CapsService ICapsService
m_DefaultHomeRegion string
m_DefaultHomeRegionPos System.Vector3
m_DefaultRegionName string
m_DefaultUserAvatarArchive string
m_FriendsService IFriendsService
m_GridService IGridService
m_InventoryService IInventoryService
m_LibraryService ILibraryService
m_MinLoginLevel int
m_RequireInventory bool
m_SimulationService ISimulationService
m_UserAccountService IUserAccountService
m_WelcomeMessage string
m_WelcomeMessageURL string
m_agentInfoService IAgentInfoService
m_config IConfigSource
m_loginServerConfig IConfig
m_registry IRegistryCore

Public Methods

Method Description
AddClassifiedCategory ( int ID, string categoryName ) : void
FinishedStartup ( ) : void
FixCurrentOutFitFolder ( UUID user, AvatarAppearance &avappearance ) : void
Initialize ( IConfigSource config, IRegistryCore registry ) : void
Login ( UUID AgentID, string Name, string authType, string passwd, string startLocation, string clientVersion, string channel, string mac, string id0, IPEndPoint clientIP, Hashtable requestData ) : LoginResponse
ReadClassifiedValues ( IConfig config ) : void
ReadEventValues ( IConfig config ) : void
SetEventCategories ( int value, string categoryName ) : void
SetLevel ( string firstName, string lastName, string passwd, int level, IPEndPoint clientIP ) : Hashtable
Start ( IConfigSource config, IRegistryCore registry ) : void
VerifyClient ( UUID AgentID, string name, string authType, string passwd ) : bool
WearFolder ( AvatarAppearance avappearance, UUID user, UUID folderOwnerID ) : AvatarAppearance

Protected Methods

Method Description
FindDestination ( UserAccount account, UserInfo pinfo, UUID sessionID, string startLocation, GridRegion home, TeleportFlags &tpFlags, string &where, System.Vector3 &position, System.Vector3 &lookAt ) : GridRegion
HandleLoginCommand ( IScene scene, string cmd ) : void
LaunchAgentAtGrid ( GridRegion destination, TeleportFlags tpFlags, UserAccount account, UUID session, UUID secureSession, System.Vector3 position, string currentWhere, IPEndPoint clientIP, List friendsToInform, string &where, string &reason, string &seedCap, GridRegion &dest ) : AgentCircuitData
MakeAgent ( GridRegion region, UserAccount account, UUID session, UUID secureSession, uint circuit, System.Vector3 position, IPEndPoint clientIP ) : AgentCircuitData
RegisterCommands ( ) : void
TryFindGridRegionForAgentLogin ( List regions, UserAccount account, UUID session, UUID secureSession, uint circuitCode, System.Vector3 position, IPEndPoint clientIP, AgentCircuitData aCircuit, List friendsToInform, string &seedCap, string &reason, GridRegion &destination ) : bool

Private Methods

Method Description
BuildEventNotifications ( UUID principalID, ArrayList &eventNotifications ) : void

Method Details

AddClassifiedCategory() public method

public AddClassifiedCategory ( int ID, string categoryName ) : void
ID int
categoryName string
return void

FindDestination() protected method

protected FindDestination ( UserAccount account, UserInfo pinfo, UUID sessionID, string startLocation, GridRegion home, TeleportFlags &tpFlags, string &where, System.Vector3 &position, System.Vector3 &lookAt ) : GridRegion
account Universe.Framework.Services.UserAccount
pinfo Universe.Framework.Services.UserInfo
sessionID UUID
startLocation string
home Universe.Framework.Services.GridRegion
tpFlags TeleportFlags
where string
position System.Vector3
lookAt System.Vector3
return Universe.Framework.Services.GridRegion

FinishedStartup() public method

public FinishedStartup ( ) : void
return void

FixCurrentOutFitFolder() public method

public FixCurrentOutFitFolder ( UUID user, AvatarAppearance &avappearance ) : void
user UUID
avappearance Universe.Framework.ClientInterfaces.AvatarAppearance
return void

HandleLoginCommand() protected method

protected HandleLoginCommand ( IScene scene, string cmd ) : void
scene IScene
cmd string
return void

Initialize() public method

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

LaunchAgentAtGrid() protected method

protected LaunchAgentAtGrid ( GridRegion destination, TeleportFlags tpFlags, UserAccount account, UUID session, UUID secureSession, System.Vector3 position, string currentWhere, IPEndPoint clientIP, List friendsToInform, string &where, string &reason, string &seedCap, GridRegion &dest ) : AgentCircuitData
destination Universe.Framework.Services.GridRegion
tpFlags TeleportFlags
account Universe.Framework.Services.UserAccount
session UUID
secureSession UUID
position System.Vector3
currentWhere string
clientIP System.Net.IPEndPoint
friendsToInform List
where string
reason string
seedCap string
dest Universe.Framework.Services.GridRegion
return Universe.Framework.PresenceInfo.AgentCircuitData

Login() public method

public Login ( UUID AgentID, string Name, string authType, string passwd, string startLocation, string clientVersion, string channel, string mac, string id0, IPEndPoint clientIP, Hashtable requestData ) : LoginResponse
AgentID UUID
Name string
authType string
passwd string
startLocation string
clientVersion string
channel string
mac string
id0 string
clientIP System.Net.IPEndPoint
requestData System.Collections.Hashtable
return Universe.Framework.Services.LoginResponse

MakeAgent() protected method

protected MakeAgent ( GridRegion region, UserAccount account, UUID session, UUID secureSession, uint circuit, System.Vector3 position, IPEndPoint clientIP ) : AgentCircuitData
region Universe.Framework.Services.GridRegion
account Universe.Framework.Services.UserAccount
session UUID
secureSession UUID
circuit uint
position System.Vector3
clientIP System.Net.IPEndPoint
return Universe.Framework.PresenceInfo.AgentCircuitData

ReadClassifiedValues() public method

public ReadClassifiedValues ( IConfig config ) : void
config IConfig
return void

ReadEventValues() public method

public ReadEventValues ( IConfig config ) : void
config IConfig
return void

RegisterCommands() protected method

protected RegisterCommands ( ) : void
return void

SetEventCategories() public method

public SetEventCategories ( int value, string categoryName ) : void
value int
categoryName string
return void

SetLevel() public method

public SetLevel ( string firstName, string lastName, string passwd, int level, IPEndPoint clientIP ) : Hashtable
firstName string
lastName string
passwd string
level int
clientIP System.Net.IPEndPoint
return System.Collections.Hashtable

Start() public method

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

TryFindGridRegionForAgentLogin() protected method

protected TryFindGridRegionForAgentLogin ( List regions, UserAccount account, UUID session, UUID secureSession, uint circuitCode, System.Vector3 position, IPEndPoint clientIP, AgentCircuitData aCircuit, List friendsToInform, string &seedCap, string &reason, GridRegion &destination ) : bool
regions List
account Universe.Framework.Services.UserAccount
session UUID
secureSession UUID
circuitCode uint
position System.Vector3
clientIP System.Net.IPEndPoint
aCircuit Universe.Framework.PresenceInfo.AgentCircuitData
friendsToInform List
seedCap string
reason string
destination Universe.Framework.Services.GridRegion
return bool

VerifyClient() public method

public VerifyClient ( UUID AgentID, string name, string authType, string passwd ) : bool
AgentID UUID
name string
authType string
passwd string
return bool

WearFolder() public method

public WearFolder ( AvatarAppearance avappearance, UUID user, UUID folderOwnerID ) : AvatarAppearance
avappearance Universe.Framework.ClientInterfaces.AvatarAppearance
user UUID
folderOwnerID UUID
return Universe.Framework.ClientInterfaces.AvatarAppearance

Property Details

LoginModules protected property

protected List LoginModules
return List

classifiedCategories protected property

protected ArrayList,System.Collections classifiedCategories
return System.Collections.ArrayList

eventCategories protected property

protected ArrayList,System.Collections eventCategories
return System.Collections.ArrayList

m_AllowAnonymousLogin protected property

protected bool m_AllowAnonymousLogin
return bool

m_AllowDuplicateLogin protected property

protected bool m_AllowDuplicateLogin
return bool

m_AllowRemoteSetLoginLevel protected property

protected bool m_AllowRemoteSetLoginLevel
return bool

m_ArchiveService protected property

protected IAvatarAppearanceArchiver m_ArchiveService
return IAvatarAppearanceArchiver

m_AssetService protected property

protected IAssetService m_AssetService
return IAssetService

m_AuthenticationService protected property

protected IAuthenticationService m_AuthenticationService
return IAuthenticationService

m_AvatarService protected property

protected IAvatarService m_AvatarService
return IAvatarService

m_CapsService protected property

protected ICapsService m_CapsService
return ICapsService

m_DefaultHomeRegion protected property

protected string m_DefaultHomeRegion
return string

m_DefaultHomeRegionPos protected property

protected Vector3,System m_DefaultHomeRegionPos
return System.Vector3

m_DefaultRegionName protected property

protected string m_DefaultRegionName
return string

m_DefaultUserAvatarArchive protected property

protected string m_DefaultUserAvatarArchive
return string

m_FriendsService protected property

protected IFriendsService m_FriendsService
return IFriendsService

m_GridService protected property

protected IGridService m_GridService
return IGridService

m_InventoryService protected property

protected IInventoryService m_InventoryService
return IInventoryService

m_LibraryService protected property

protected ILibraryService m_LibraryService
return ILibraryService

m_MinLoginLevel protected property

protected int m_MinLoginLevel
return int

m_RequireInventory protected property

protected bool m_RequireInventory
return bool

m_SimulationService protected property

protected ISimulationService m_SimulationService
return ISimulationService

m_UserAccountService protected property

protected IUserAccountService m_UserAccountService
return IUserAccountService

m_WelcomeMessage protected property

protected string m_WelcomeMessage
return string

m_WelcomeMessageURL protected property

protected string m_WelcomeMessageURL
return string

m_agentInfoService protected property

protected IAgentInfoService m_agentInfoService
return IAgentInfoService

m_config protected property

protected IConfigSource m_config
return IConfigSource

m_loginServerConfig protected property

protected IConfig m_loginServerConfig
return IConfig

m_registry protected property

protected IRegistryCore m_registry
return IRegistryCore