diff options
author | Adam Frisby | 2007-10-25 12:13:58 +0000 |
---|---|---|
committer | Adam Frisby | 2007-10-25 12:13:58 +0000 |
commit | 2048d611cf2ecccfbdb6b234c995e19d72ad03f2 (patch) | |
tree | a7cbc539a7e69cb1f8e70a094df8e26048d07375 /OpenSim/Region/Environment/Scenes/SceneManager.cs | |
parent | Created a generic RESTClient component, which simplifies querying for resourc... (diff) | |
download | opensim-SC_OLD-2048d611cf2ecccfbdb6b234c995e19d72ad03f2.zip opensim-SC_OLD-2048d611cf2ecccfbdb6b234c995e19d72ad03f2.tar.gz opensim-SC_OLD-2048d611cf2ecccfbdb6b234c995e19d72ad03f2.tar.bz2 opensim-SC_OLD-2048d611cf2ecccfbdb6b234c995e19d72ad03f2.tar.xz |
* Added XMLRPC Controller Module to OpenSimMain which allows XML-RPC queries to be sent to the core application.
* Disabled by default, but has two functions so far -- shutdown (timed or now), and create-region.
* Added SendGeneralAlert function to SceneManager allowing all-user alerts to be sent from OpenSimMain.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneManager.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneManager.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneManager.cs b/OpenSim/Region/Environment/Scenes/SceneManager.cs index 3fe9479..7db6927 100644 --- a/OpenSim/Region/Environment/Scenes/SceneManager.cs +++ b/OpenSim/Region/Environment/Scenes/SceneManager.cs | |||
@@ -150,6 +150,14 @@ namespace OpenSim.Region.Environment.Scenes | |||
150 | ForEachCurrentScene(delegate(Scene scene) { scene.HandleAlertCommand(cmdparams); }); | 150 | ForEachCurrentScene(delegate(Scene scene) { scene.HandleAlertCommand(cmdparams); }); |
151 | } | 151 | } |
152 | 152 | ||
153 | public void SendGeneralMessage(string msg) | ||
154 | { | ||
155 | ForEachCurrentScene(delegate(Scene scene) | ||
156 | { | ||
157 | scene.SendGeneralAlert(msg); | ||
158 | }); | ||
159 | } | ||
160 | |||
153 | public bool TrySetCurrentScene(string regionName) | 161 | public bool TrySetCurrentScene(string regionName) |
154 | { | 162 | { |
155 | if ((String.Compare(regionName, "root") == 0) || (String.Compare(regionName, "..") == 0)) | 163 | if ((String.Compare(regionName, "root") == 0) || (String.Compare(regionName, "..") == 0)) |