29 using System.Reflection;
35 using OpenSim.Framework;
36 using OpenSim.Framework.Console;
37 using OpenSim.Region.Framework.Interfaces;
38 using OpenSim.Region.Framework.Scenes;
45 [Extension(Path =
"/OpenSim/RegionModules", NodeName =
"RegionModule", Id =
"MonitorServicesModule")]
52 public string Name {
get {
return "Services Health Monitoring Module"; } }
54 public Type ReplaceableInterface {
get {
return null; } }
91 MainConsole.Instance.Output(GenerateServicesReport());
96 StringBuilder sb =
new StringBuilder();
97 sb.Append(
"This is an experimental module. Please don't rely on these results\n");
98 sb.Append(
"Asset service: ");
107 sb.AppendFormat(
"FAIL ({0})", e.Message);
110 return sb.ToString();
116 m_scene.AssetService.Get(UUID.Random().ToString());
void RemoveRegion(Scene scene)
This is called whenever a Scene is removed. For shared modules, this can happen several times...
void Initialise(IConfigSource source)
This is called to initialize the region module. For shared modules, this is called exactly once...
void RegionLoaded(Scene scene)
This will be called once for every scene loaded. In a shared module this will be multiple times in on...
string GenerateServicesReport()
void HandleMonitorServices(string module, string[] args)
An experimental module to return data on services used by the simulator.
void Close()
This is the inverse to Initialise. After a Close(), this instance won't be usable anymore...
void PostInitialise()
This is called exactly once after all the shared region-modules have been instanciated and IRegionMod...
Interactive OpenSim region server
void AddRegion(Scene scene)
This is called whenever a Scene is added. For shared modules, this can happen several times...