diff options
Diffstat (limited to 'ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs')
-rw-r--r-- | ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs b/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs index 2aa2398..625e3c5 100644 --- a/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs +++ b/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs | |||
@@ -74,6 +74,18 @@ namespace OpenSim.ApplicationPlugins.LoadBalancer | |||
74 | private List<IClientNetworkServer> m_clientServers; | 74 | private List<IClientNetworkServer> m_clientServers; |
75 | 75 | ||
76 | #region IApplicationPlugin Members | 76 | #region IApplicationPlugin Members |
77 | // TODO: required by IPlugin, but likely not at all right | ||
78 | string m_name = "LoadBalancerPlugin"; | ||
79 | string m_version = "0.0"; | ||
80 | |||
81 | public string Version { get { return m_version; } } | ||
82 | public string Name { get { return m_name; } } | ||
83 | |||
84 | public void Initialise() | ||
85 | { | ||
86 | m_log.Info("[BALANCER]: " + Name + " cannot be default-initialized!"); | ||
87 | throw new PluginNotInitialisedException (Name); | ||
88 | } | ||
77 | 89 | ||
78 | public void Initialise(OpenSimBase openSim) | 90 | public void Initialise(OpenSimBase openSim) |
79 | { | 91 | { |
@@ -109,7 +121,7 @@ namespace OpenSim.ApplicationPlugins.LoadBalancer | |||
109 | m_log.Info("[BALANCER] " + "Exiting Initialize()"); | 121 | m_log.Info("[BALANCER] " + "Exiting Initialize()"); |
110 | } | 122 | } |
111 | 123 | ||
112 | public void Close() | 124 | public void Dispose() |
113 | { | 125 | { |
114 | } | 126 | } |
115 | 127 | ||