OpenSim
|
Public Member Functions | |
virtual 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... | |
virtual void | PostInitialise () |
This is called exactly once after all the shared region-modules have been instanciated and IRegionModuleBase.Initialised. More... | |
virtual 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... | |
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 cAgentData) |
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 origin, UUID id, 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) |
Protected Member Functions | |
virtual void | InitEach (Scene scene) |
virtual void | InitOnce (Scene scene) |
Protected Attributes | |
bool | m_enabled = false |
Scene | m_aScene |
LocalSimulationConnectorModule | m_localBackend |
SimulationServiceConnector | m_remoteConnector |
bool | m_safemode |
Properties | |
Type | ReplaceableInterface [get] |
virtual 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 51 of file RemoteSimulationConnector.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 95 of file RemoteSimulationConnector.cs.
|
inlinevirtual |
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 91 of file RemoteSimulationConnector.cs.
|
inline |
Close agent.
regionHandle | |
id |
Implements OpenSim.Services.Interfaces.ISimulationService.
Definition at line 239 of file RemoteSimulationConnector.cs.
|
inline |
Agent-related communications
Implements OpenSim.Services.Interfaces.ISimulationService.
Definition at line 163 of file RemoteSimulationConnector.cs.
|
inline |
Object-related communications
Implements OpenSim.Services.Interfaces.ISimulationService.
Definition at line 259 of file RemoteSimulationConnector.cs.
|
inline |
Implements OpenSim.Services.Interfaces.ISimulationService.
Definition at line 154 of file RemoteSimulationConnector.cs.
|
inline |
Retrieve the scene with the given region ID.
regionId | Region identifier. |
Implements OpenSim.Services.Interfaces.ISimulationService.
Definition at line 149 of file RemoteSimulationConnector.cs.
|
inlineprotectedvirtual |
Definition at line 133 of file RemoteSimulationConnector.cs.
|
inlinevirtual |
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 66 of file RemoteSimulationConnector.cs.
|
inlineprotectedvirtual |
Definition at line 139 of file RemoteSimulationConnector.cs.
|
inlinevirtual |
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 87 of file RemoteSimulationConnector.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 208 of file RemoteSimulationConnector.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 117 of file RemoteSimulationConnector.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 226 of file RemoteSimulationConnector.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 108 of file RemoteSimulationConnector.cs.
|
inline |
Full child agent update.
regionHandle | |
data |
Implements OpenSim.Services.Interfaces.ISimulationService.
Definition at line 184 of file RemoteSimulationConnector.cs.
|
inline |
Short child agent update, mostly for position.
regionHandle | |
data |
Implements OpenSim.Services.Interfaces.ISimulationService.
Definition at line 196 of file RemoteSimulationConnector.cs.
|
protected |
Definition at line 57 of file RemoteSimulationConnector.cs.
|
protected |
Definition at line 56 of file RemoteSimulationConnector.cs.
|
protected |
Definition at line 59 of file RemoteSimulationConnector.cs.
|
protected |
Definition at line 60 of file RemoteSimulationConnector.cs.
|
protected |
Definition at line 62 of file RemoteSimulationConnector.cs.
|
get |
Definition at line 129 of file RemoteSimulationConnector.cs.
|
get |
Definition at line 124 of file RemoteSimulationConnector.cs.