OpenSim
|
Public Member Functions | |
void | Initialise (IConfigSource configSource) |
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 | InitialiseService (IConfigSource configSource) |
void | PostInitialise () |
This is called exactly once after all the shared region-modules have been instanciated and IRegionModuleBase.Initialised. 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... | |
void | Close () |
This is the inverse to Initialise. After a Close(), this instance won't be usable anymore. More... | |
void | RemoveScene (Scene scene) |
Can be called from other modules. More... | |
void | Init (Scene scene) |
Can be called from other modules. More... | |
IScene | GetScene (UUID regionId) |
Retrieve the scene with the given region ID. More... | |
ISimulationService | GetInnerService () |
bool | CreateAgent (GridRegion source, GridRegion destination, AgentCircuitData aCircuit, uint teleportFlags, EntityTransferContext ctx, out string reason) |
bool | UpdateAgent (GridRegion destination, AgentData cAgentData, EntityTransferContext ctx) |
Full child agent update. More... | |
bool | UpdateAgent (GridRegion destination, AgentPosition agentPosition) |
Short child agent update, mostly for position. More... | |
bool | QueryAccess (GridRegion destination, UUID agentID, string agentHomeURI, bool viaTeleport, Vector3 position, List< UUID > features, EntityTransferContext ctx, out string reason) |
Returns whether a propspective user is allowed to visit the region. More... | |
bool | ReleaseAgent (UUID originId, UUID agentId, string uri) |
Message from receiving region to departing region, telling it got contacted by the client. When sent over REST, it invokes the opaque uri. More... | |
bool | CloseAgent (GridRegion destination, UUID id, string auth_token) |
Close agent. More... | |
bool | CreateObject (GridRegion destination, Vector3 newPosition, ISceneObject sog, bool isLocalCall) |
bool | IsLocalRegion (ulong regionhandle) |
bool | IsLocalRegion (UUID id) |
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 44 of file LocalSimulationConnector.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 85 of file LocalSimulationConnector.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 107 of file LocalSimulationConnector.cs.
|
inline |
Close agent.
regionHandle | |
id |
Implements OpenSim.Services.Interfaces.ISimulationService.
Definition at line 295 of file LocalSimulationConnector.cs.
|
inline |
Agent-related communications
Implements OpenSim.Services.Interfaces.ISimulationService.
Definition at line 188 of file LocalSimulationConnector.cs.
|
inline |
Object-related communications
Implements OpenSim.Services.Interfaces.ISimulationService.
Definition at line 317 of file LocalSimulationConnector.cs.
|
inline |
Implements OpenSim.Services.Interfaces.ISimulationService.
Definition at line 179 of file LocalSimulationConnector.cs.
|
inline |
Retrieve the scene with the given region ID.
regionId | Region identifier. |
Implements OpenSim.Services.Interfaces.ISimulationService.
Definition at line 159 of file LocalSimulationConnector.cs.
|
inline |
Can be called from other modules.
scene |
Definition at line 142 of file LocalSimulationConnector.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 60 of file LocalSimulationConnector.cs.
|
inline |
Definition at line 77 of file LocalSimulationConnector.cs.
|
inline |
Definition at line 351 of file LocalSimulationConnector.cs.
|
inline |
Definition at line 360 of file LocalSimulationConnector.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 81 of file LocalSimulationConnector.cs.
|
inline |
Returns whether a propspective user is allowed to visit the region.
destination | Desired destination |
agentID | The visitor's User ID |
agentHomeURI | The visitor's Home URI. Will be missing (null) in older OpenSims. |
viaTeleport | True: via teleport; False: via cross (walking) |
position | Position in the region |
sversion | Version that the requesting simulator is runing. If null then no version check is carried out. |
version | Version that the target simulator is running |
reason | [out] Optional error message |
Implements OpenSim.Services.Interfaces.ISimulationService.
Definition at line 247 of file LocalSimulationConnector.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 103 of file LocalSimulationConnector.cs.
|
inline |
Message from receiving region to departing region, telling it got contacted by the client. When sent over REST, it invokes the opaque uri.
regionHandle | |
id | |
uri |
Implements OpenSim.Services.Interfaces.ISimulationService.
Definition at line 279 of file LocalSimulationConnector.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 94 of file LocalSimulationConnector.cs.
|
inline |
Can be called from other modules.
scene |
Definition at line 125 of file LocalSimulationConnector.cs.
|
inline |
Full child agent update.
regionHandle | |
data |
Implements OpenSim.Services.Interfaces.ISimulationService.
Definition at line 207 of file LocalSimulationConnector.cs.
|
inline |
Short child agent update, mostly for position.
regionHandle | |
data |
Implements OpenSim.Services.Interfaces.ISimulationService.
Definition at line 228 of file LocalSimulationConnector.cs.
|
get |
Definition at line 117 of file LocalSimulationConnector.cs.
|
get |
Definition at line 112 of file LocalSimulationConnector.cs.