OpenSim
|
Public Member Functions | |
LocalGridServicesConnector () | |
LocalGridServicesConnector (IConfigSource source) | |
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... | |
string | RegisterRegion (UUID scopeID, GridRegion regionInfo) |
Register a region with the grid service. More... | |
bool | DeregisterRegion (UUID regionID) |
Deregister a region with the grid service. More... | |
List< GridRegion > | GetNeighbours (UUID scopeID, UUID regionID) |
Get information about the regions neighbouring the given co-ordinates (in meters). More... | |
GridRegion | GetRegionByUUID (UUID scopeID, UUID regionID) |
GridRegion | GetRegionByPosition (UUID scopeID, int x, int y) |
Get the region at the given position (in meters) More... | |
GridRegion | GetRegionByName (UUID scopeID, string regionName) |
Get information about a region which exactly matches the name given. More... | |
List< GridRegion > | GetRegionsByName (UUID scopeID, string name, int maxNumber) |
Get information about regions starting with the provided name. More... | |
List< GridRegion > | GetRegionRange (UUID scopeID, int xmin, int xmax, int ymin, int ymax) |
List< GridRegion > | GetDefaultRegions (UUID scopeID) |
List< GridRegion > | GetDefaultHypergridRegions (UUID scopeID) |
List< GridRegion > | GetFallbackRegions (UUID scopeID, int x, int y) |
List< GridRegion > | GetHyperlinks (UUID scopeID) |
int | GetRegionFlags (UUID scopeID, UUID regionID) |
Get internal OpenSimulator region flags. More... | |
Dictionary< string, object > | GetExtraFeatures () |
void | HandleShowNeighboursCommand (string module, string[] cmdparams) |
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... | |
Definition at line 46 of file LocalGridServiceConnector.cs.
|
inline |
Definition at line 58 of file LocalGridServiceConnector.cs.
|
inline |
Definition at line 63 of file LocalGridServiceConnector.cs.
|
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.
scene | A Scene |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 139 of file LocalGridServiceConnector.cs.
|
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 135 of file LocalGridServiceConnector.cs.
|
inline |
Deregister a region with the grid service.
regionID |
System.Exception | Thrown if region deregistration failed |
Implements OpenSim.Services.Interfaces.IGridService.
Definition at line 180 of file LocalGridServiceConnector.cs.
|
inline |
Implements OpenSim.Services.Interfaces.IGridService.
Definition at line 263 of file LocalGridServiceConnector.cs.
|
inline |
Implements OpenSim.Services.Interfaces.IGridService.
Definition at line 258 of file LocalGridServiceConnector.cs.
|
inline |
Implements OpenSim.Services.Interfaces.IGridService.
Definition at line 283 of file LocalGridServiceConnector.cs.
|
inline |
Implements OpenSim.Services.Interfaces.IGridService.
Definition at line 268 of file LocalGridServiceConnector.cs.
|
inline |
Implements OpenSim.Services.Interfaces.IGridService.
Definition at line 273 of file LocalGridServiceConnector.cs.
|
inline |
Get information about the regions neighbouring the given co-ordinates (in meters).
x | |
y |
Implements OpenSim.Services.Interfaces.IGridService.
Definition at line 185 of file LocalGridServiceConnector.cs.
|
inline |
Get information about a region which exactly matches the name given.
scopeID | |
regionName |
Implements OpenSim.Services.Interfaces.IGridService.
Definition at line 243 of file LocalGridServiceConnector.cs.
|
inline |
Get the region at the given position (in meters)
scopeID | |
x | |
y |
Implements OpenSim.Services.Interfaces.IGridService.
Definition at line 198 of file LocalGridServiceConnector.cs.
|
inline |
Implements OpenSim.Services.Interfaces.IGridService.
Definition at line 190 of file LocalGridServiceConnector.cs.
|
inline |
Get internal OpenSimulator region flags.
See OpenSimulator.Framework.RegionFlags. These are not returned in the GridRegion structure - they currently need to be requested separately. Possibly this should change to avoid multiple service calls in some situations.
scopeID | |
regionID |
Implements OpenSim.Services.Interfaces.IGridService.
Definition at line 278 of file LocalGridServiceConnector.cs.
|
inline |
Implements OpenSim.Services.Interfaces.IGridService.
Definition at line 253 of file LocalGridServiceConnector.cs.
|
inline |
Get information about regions starting with the provided name.
name | The name to match against. |
maxNumber | The maximum number of results to return. |
Implements OpenSim.Services.Interfaces.IGridService.
Definition at line 248 of file LocalGridServiceConnector.cs.
|
inline |
Definition at line 290 of file LocalGridServiceConnector.cs.
|
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.
source | A IConfigSource |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 81 of file LocalGridServiceConnector.cs.
|
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 126 of file LocalGridServiceConnector.cs.
|
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.
scene | A Scene |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 167 of file LocalGridServiceConnector.cs.
|
inline |
Register a region with the grid service.
regionInfos |
System.Exception | Thrown if region registration failed |
Implements OpenSim.Services.Interfaces.IGridService.
Definition at line 175 of file LocalGridServiceConnector.cs.
|
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.
scene | A Scene |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 155 of file LocalGridServiceConnector.cs.
|
get |
Definition at line 77 of file LocalGridServiceConnector.cs.
|
get |
Definition at line 72 of file LocalGridServiceConnector.cs.