aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/BaseOpenSimServer.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-10-03 15:11:29 +0000
committerJustin Clarke Casey2008-10-03 15:11:29 +0000
commit70124a3213d013098507b08ed7f9301da6845882 (patch)
tree6eb458084e0496be30be166a6da91f50cfb7b1d6 /OpenSim/Framework/Servers/BaseOpenSimServer.cs
parentThis changeset changes the way chat from client is routed: (diff)
downloadopensim-SC_OLD-70124a3213d013098507b08ed7f9301da6845882.zip
opensim-SC_OLD-70124a3213d013098507b08ed7f9301da6845882.tar.gz
opensim-SC_OLD-70124a3213d013098507b08ed7f9301da6845882.tar.bz2
opensim-SC_OLD-70124a3213d013098507b08ed7f9301da6845882.tar.xz
* refactor: make startup a template method
Diffstat (limited to 'OpenSim/Framework/Servers/BaseOpenSimServer.cs')
-rw-r--r--OpenSim/Framework/Servers/BaseOpenSimServer.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
index e799c23..099060a 100644
--- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs
+++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
@@ -94,6 +94,11 @@ namespace OpenSim.Framework.Servers
94 Thread.CurrentThread.Name = "ConsoleThread"; 94 Thread.CurrentThread.Name = "ConsoleThread";
95 ThreadTracker.Add(Thread.CurrentThread); 95 ThreadTracker.Add(Thread.CurrentThread);
96 } 96 }
97
98 /// <summary>
99 /// Must be overriden by child classes for their own server specific startup behaviour.
100 /// </summary>
101 protected abstract void StartupSpecific();
97 102
98 /// <summary> 103 /// <summary>
99 /// Print statistics to the logfile, if they are active 104 /// Print statistics to the logfile, if they are active
@@ -202,11 +207,13 @@ namespace OpenSim.Framework.Servers
202 /// </summary> 207 /// </summary>
203 public virtual void Startup() 208 public virtual void Startup()
204 { 209 {
205 m_log.Info("[STARTUP]: Beginning startup processing"); 210 m_log.Info("[STARTUP]: Beginning startup processing");
206 211
207 EnhanceVersionInformation(); 212 EnhanceVersionInformation();
208 213
209 m_log.Info("[STARTUP]: Version: " + m_version + "\n"); 214 m_log.Info("[STARTUP]: Version: " + m_version + "\n");
215
216 StartupSpecific();
210 } 217 }
211 218
212 /// <summary> 219 /// <summary>