aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Communications/Interregion/IInterregionModule.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-04-29 17:50:29 +0000
committerAdam Frisby2008-04-29 17:50:29 +0000
commit03155e362c49d3de0ec34e54dde31205c0a34e85 (patch)
tree2700e5a8b50483ac430278d07ba85e7953619f6f /OpenSim/Region/Environment/Modules/Communications/Interregion/IInterregionModule.cs
parent* Preparatory work for autoupgrade of sqlite inventory tables in preparation ... (diff)
downloadopensim-SC_OLD-03155e362c49d3de0ec34e54dde31205c0a34e85.zip
opensim-SC_OLD-03155e362c49d3de0ec34e54dde31205c0a34e85.tar.gz
opensim-SC_OLD-03155e362c49d3de0ec34e54dde31205c0a34e85.tar.bz2
opensim-SC_OLD-03155e362c49d3de0ec34e54dde31205c0a34e85.tar.xz
* Implemented new InterRegion comms method in the form of InterregionModule
* Interfaces and methods have been defined for basic operation, however a replacement grid module is required to share region URIs with neighbours for this module to work. * Tackling that next.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Modules/Communications/Interregion/IInterregionModule.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Communications/Interregion/IInterregionModule.cs b/OpenSim/Region/Environment/Modules/Communications/Interregion/IInterregionModule.cs
new file mode 100644
index 0000000..c15738c
--- /dev/null
+++ b/OpenSim/Region/Environment/Modules/Communications/Interregion/IInterregionModule.cs
@@ -0,0 +1,14 @@
1using OpenSim.Framework;
2using OpenSim.Region.Environment.Scenes;
3
4namespace OpenSim.Region.Environment.Modules.Communications.Interregion
5{
6 public interface IInterregionModule
7 {
8 void RegisterMethod<T>(T e);
9 bool HasInterface<T>(Location loc);
10 T RequestInterface<T>(Location loc);
11 T[] RequestInterface<T>();
12 Location GetLocationByDirection(Scene scene, InterregionModule.Direction dir);
13 }
14} \ No newline at end of file