aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2010-04-09 06:49:14 +0100
committerMelanie2010-04-09 06:49:14 +0100
commit7701ea27983be851a3c9d3954346018e07680ae6 (patch)
treea8732f2857fb7d2f8e7dd4cf904c562a2e0f1e8c /OpenSim
parentImplement cmGetAvatarList(). This returns a strided list of all avatars in th... (diff)
downloadopensim-SC-7701ea27983be851a3c9d3954346018e07680ae6.zip
opensim-SC-7701ea27983be851a3c9d3954346018e07680ae6.tar.gz
opensim-SC-7701ea27983be851a3c9d3954346018e07680ae6.tar.bz2
opensim-SC-7701ea27983be851a3c9d3954346018e07680ae6.tar.xz
Add Scene.SnmpService, which is of type ISnmpModule and, if nun-null, can
be used to send snmp alerts
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 55f4550..db073e8 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -158,6 +158,20 @@ namespace OpenSim.Region.Framework.Scenes
158 158
159 public IXfer XferManager; 159 public IXfer XferManager;
160 160
161 protected ISnmpModule m_snmpService = null;
162 public ISnmpModule SnmpService
163 {
164 get
165 {
166 if (m_snmpService == null)
167 {
168 m_snmpService = RequestModuleInterface<ISnmpModule>();
169 }
170
171 return m_snmpService;
172 }
173 }
174
161 protected IAssetService m_AssetService; 175 protected IAssetService m_AssetService;
162 protected IAuthorizationService m_AuthorizationService; 176 protected IAuthorizationService m_AuthorizationService;
163 177