diff options
author | gareth | 2007-05-13 21:01:21 +0000 |
---|---|---|
committer | gareth | 2007-05-13 21:01:21 +0000 |
commit | 0834b097f61b723462f9c1ba2416009069d62504 (patch) | |
tree | 7415ca034970de059cbc9179fad110248b07ac84 /ServiceManager/ServiceManager.cs | |
parent | (no commit message) (diff) | |
download | opensim-SC_OLD-0834b097f61b723462f9c1ba2416009069d62504.zip opensim-SC_OLD-0834b097f61b723462f9c1ba2416009069d62504.tar.gz opensim-SC_OLD-0834b097f61b723462f9c1ba2416009069d62504.tar.bz2 opensim-SC_OLD-0834b097f61b723462f9c1ba2416009069d62504.tar.xz |
Added skeleton master service manager
Diffstat (limited to '')
-rw-r--r-- | ServiceManager/ServiceManager.cs | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/ServiceManager/ServiceManager.cs b/ServiceManager/ServiceManager.cs new file mode 100644 index 0000000..6a613bb --- /dev/null +++ b/ServiceManager/ServiceManager.cs | |||
@@ -0,0 +1,31 @@ | |||
1 | using System; | ||
2 | using System.Threading; | ||
3 | using System.ServiceProcess; | ||
4 | |||
5 | public class OpenGridMasterService : System.ServiceProcess.ServiceBase { | ||
6 | |||
7 | private Thread ServiceWorkerThread; | ||
8 | |||
9 | public OpenGridMasterService() | ||
10 | { | ||
11 | CanPauseAndContinue = false; | ||
12 | ServiceName = "OpenGridServices-master"; | ||
13 | } | ||
14 | |||
15 | private void InitializeComponent() | ||
16 | { | ||
17 | this.CanPauseAndContinue = false; | ||
18 | this.CanShutdown = true; | ||
19 | this.ServiceName = "OpenGridServices-master"; | ||
20 | } | ||
21 | |||
22 | protected override void OnStart(string[] args) | ||
23 | { | ||
24 | |||
25 | |||
26 | } | ||
27 | |||
28 | public static void Main() | ||
29 | { | ||
30 | } | ||
31 | } | ||