Add Scene.SnmpService, which is of type ISnmpModule and, if nun-null, can

be used to send snmp alerts
avinationmerge
Melanie 2010-04-09 06:49:14 +01:00
parent d834a2c3da
commit 7701ea2798
1 changed files with 14 additions and 0 deletions

View File

@ -158,6 +158,20 @@ namespace OpenSim.Region.Framework.Scenes
public IXfer XferManager;
protected ISnmpModule m_snmpService = null;
public ISnmpModule SnmpService
{
get
{
if (m_snmpService == null)
{
m_snmpService = RequestModuleInterface<ISnmpModule>();
}
return m_snmpService;
}
}
protected IAssetService m_AssetService;
protected IAuthorizationService m_AuthorizationService;