OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
OpenSim.Region.CoreModules.ServiceConnectorsOut.GridUser.LocalGridUserServicesConnector Class Reference
Inheritance diagram for OpenSim.Region.CoreModules.ServiceConnectorsOut.GridUser.LocalGridUserServicesConnector:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Region.CoreModules.ServiceConnectorsOut.GridUser.LocalGridUserServicesConnector:
Collaboration graph
[legend]

Public Member Functions

void Initialise (IConfigSource source)
 This is called to initialize the region module. For shared modules, this is called exactly once, after creating the single (shared) instance. For non-shared modules, this is called once on each instance, after the instace for the region has been created. More...
 
void PostInitialise ()
 This is called exactly once after all the shared region-modules have been instanciated and IRegionModuleBase.Initialised. More...
 
void Close ()
 This is the inverse to Initialise. After a Close(), this instance won't be usable anymore. More...
 
void AddRegion (Scene scene)
 This is called whenever a Scene is added. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, after Initialise has been called. More...
 
void RemoveRegion (Scene scene)
 This is called whenever a Scene is removed. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, if the scene this instance is associated with is removed. More...
 
void RegionLoaded (Scene scene)
 This will be called once for every scene loaded. In a shared module this will be multiple times in one instance, while a nonshared module instance will only be called once. This method is called after AddRegion has been called in all modules for that scene, providing an opportunity to request another module's interface, or hook an event from another module. More...
 
GridUserInfo LoggedIn (string userID)
 
bool LoggedOut (string userID, UUID sessionID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt)
 Informs the grid that a user is logged out and to remove any session data for them More...
 
bool SetHome (string userID, UUID homeID, Vector3 homePosition, Vector3 homeLookAt)
 
bool SetLastPosition (string userID, UUID sessionID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt)
 Stores the last known user position at the grid level More...
 
GridUserInfo GetGridUserInfo (string userID)
 
GridUserInfo[] GetGridUserInfo (string[] userID)
 

Properties

Type ReplaceableInterface [get]
 
string Name [get]
 
- Properties inherited from OpenSim.Region.Framework.Interfaces.IRegionModuleBase
string Name [get]
 
Type ReplaceableInterface [get]
 If this returns non-null, it is the type of an interface that this module intends to register. This will cause the loader to defer loading of this module until all other modules have been loaded. If no other module has registered the interface by then, this module will be activated, else it will remain inactive, letting the other module take over. This should return non-null ONLY in modules that are intended to be easily replaceable, e.g. stub implementations that the developer expects to be replaced by third party provided modules. More...
 

Detailed Description

Definition at line 44 of file LocalGridUserServiceConnector.cs.

Member Function Documentation

void OpenSim.Region.CoreModules.ServiceConnectorsOut.GridUser.LocalGridUserServicesConnector.AddRegion ( Scene  scene)
inline

This is called whenever a Scene is added. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, after Initialise has been called.

Parameters
sceneA Scene

Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.

Definition at line 122 of file LocalGridUserServiceConnector.cs.

void OpenSim.Region.CoreModules.ServiceConnectorsOut.GridUser.LocalGridUserServicesConnector.Close ( )
inline

This is the inverse to Initialise. After a Close(), this instance won't be usable anymore.

Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.

Definition at line 116 of file LocalGridUserServiceConnector.cs.

GridUserInfo OpenSim.Region.CoreModules.ServiceConnectorsOut.GridUser.LocalGridUserServicesConnector.GetGridUserInfo ( string  userID)
inline
GridUserInfo [] OpenSim.Region.CoreModules.ServiceConnectorsOut.GridUser.LocalGridUserServicesConnector.GetGridUserInfo ( string[]  userID)
inline
void OpenSim.Region.CoreModules.ServiceConnectorsOut.GridUser.LocalGridUserServicesConnector.Initialise ( IConfigSource  source)
inline

This is called to initialize the region module. For shared modules, this is called exactly once, after creating the single (shared) instance. For non-shared modules, this is called once on each instance, after the instace for the region has been created.

Parameters
sourceA IConfigSource

Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.

Definition at line 68 of file LocalGridUserServiceConnector.cs.

GridUserInfo OpenSim.Region.CoreModules.ServiceConnectorsOut.GridUser.LocalGridUserServicesConnector.LoggedIn ( string  userID)
inline
bool OpenSim.Region.CoreModules.ServiceConnectorsOut.GridUser.LocalGridUserServicesConnector.LoggedOut ( string  userID,
UUID  sessionID,
UUID  regionID,
Vector3  lastPosition,
Vector3  lastLookAt 
)
inline

Informs the grid that a user is logged out and to remove any session data for them

Parameters
userIDIgnore if your connector does not use userID for logouts
sessionIDIgnore if your connector does not use sessionID for logouts
regionIDRegionID where the user was last located
lastPositionLast region-relative position of the user
lastLookAtLast normalized look direction for the user
Returns
True if the logout request was successfully processed, otherwise false

Implements OpenSim.Services.Interfaces.IGridUserService.

Definition at line 157 of file LocalGridUserServiceConnector.cs.

void OpenSim.Region.CoreModules.ServiceConnectorsOut.GridUser.LocalGridUserServicesConnector.PostInitialise ( )
inline

This is called exactly once after all the shared region-modules have been instanciated and IRegionModuleBase.Initialised.

Implements OpenSim.Region.Framework.Interfaces.ISharedRegionModule.

Definition at line 110 of file LocalGridUserServiceConnector.cs.

void OpenSim.Region.CoreModules.ServiceConnectorsOut.GridUser.LocalGridUserServicesConnector.RegionLoaded ( Scene  scene)
inline

This will be called once for every scene loaded. In a shared module this will be multiple times in one instance, while a nonshared module instance will only be called once. This method is called after AddRegion has been called in all modules for that scene, providing an opportunity to request another module's interface, or hook an event from another module.

Parameters
sceneA Scene

Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.

Definition at line 140 of file LocalGridUserServiceConnector.cs.

void OpenSim.Region.CoreModules.ServiceConnectorsOut.GridUser.LocalGridUserServicesConnector.RemoveRegion ( Scene  scene)
inline

This is called whenever a Scene is removed. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, if the scene this instance is associated with is removed.

Parameters
sceneA Scene

Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.

Definition at line 131 of file LocalGridUserServiceConnector.cs.

bool OpenSim.Region.CoreModules.ServiceConnectorsOut.GridUser.LocalGridUserServicesConnector.SetHome ( string  userID,
UUID  homeID,
Vector3  homePosition,
Vector3  homeLookAt 
)
inline
bool OpenSim.Region.CoreModules.ServiceConnectorsOut.GridUser.LocalGridUserServicesConnector.SetLastPosition ( string  userID,
UUID  sessionID,
UUID  regionID,
Vector3  lastPosition,
Vector3  lastLookAt 
)
inline

Stores the last known user position at the grid level

Parameters
userIDIgnore if your connector does not use userID for position updates
sessionIDIgnore if your connector does not use sessionID for position updates
regionIDRegionID where the user is currently located
lastPositionRegion-relative position
lastLookAtNormalized look direction
Returns
True if the user's last position was successfully updated, otherwise false

Implements OpenSim.Services.Interfaces.IGridUserService.

Definition at line 167 of file LocalGridUserServiceConnector.cs.

Property Documentation

string OpenSim.Region.CoreModules.ServiceConnectorsOut.GridUser.LocalGridUserServicesConnector.Name
get

Definition at line 64 of file LocalGridUserServiceConnector.cs.

Type OpenSim.Region.CoreModules.ServiceConnectorsOut.GridUser.LocalGridUserServicesConnector.ReplaceableInterface
get

Definition at line 59 of file LocalGridUserServiceConnector.cs.


The documentation for this class was generated from the following file: