aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs')
-rw-r--r--ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs14
1 files changed, 4 insertions, 10 deletions
diff --git a/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs b/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs
index 0d50f0e..cc0f2f5 100644
--- a/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs
+++ b/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs
@@ -45,14 +45,8 @@ using OpenSim.Region.Environment.Scenes;
45 45
46// TODO: remove LindenUDP dependency 46// TODO: remove LindenUDP dependency
47 47
48[assembly : Addin]
49[assembly : AddinDependency("OpenSim", "0.5")]
50[assembly : AddinDependency("RegionProxy", "0.1")]
51
52namespace OpenSim.ApplicationPlugins.LoadBalancer 48namespace OpenSim.ApplicationPlugins.LoadBalancer
53{ 49{
54 [Extension("/OpenSim/Startup")]
55 [ExtensionNode ("Plugin")]
56 public class LoadBalancerPlugin : IApplicationPlugin 50 public class LoadBalancerPlugin : IApplicationPlugin
57 { 51 {
58 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 52 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
@@ -76,14 +70,14 @@ namespace OpenSim.ApplicationPlugins.LoadBalancer
76 70
77 #region IApplicationPlugin Members 71 #region IApplicationPlugin Members
78 // TODO: required by IPlugin, but likely not at all right 72 // TODO: required by IPlugin, but likely not at all right
79 string m_name = "LoadBalancerPlugin"; 73 string m_name = "LoadBalancer";
80 string m_version = "0.0"; 74 string m_version = "0.1";
81 75
82 public string Version { get { return m_version; } } 76 public string Version { get { return m_version; } }
83 public string Name { get { return m_name; } } 77 public string Name { get { return m_name; } }
84 78
85 public void Initialise() 79 public void Initialise()
86 { 80 {
87 m_log.Info("[BALANCER]: " + Name + " cannot be default-initialized!"); 81 m_log.Info("[BALANCER]: " + Name + " cannot be default-initialized!");
88 throw new PluginNotInitialisedException (Name); 82 throw new PluginNotInitialisedException (Name);
89 } 83 }