diff options
author | lbsa71 | 2007-04-11 12:32:58 +0000 |
---|---|---|
committer | lbsa71 | 2007-04-11 12:32:58 +0000 |
commit | c84ddd8b0d9f67926458f27d1f6d40c44ff8f355 (patch) | |
tree | 01a7d667b018f12a52028adf978f660a565f564b /OpenGridServices.UserServer | |
parent | added missing files (diff) | |
download | opensim-SC-c84ddd8b0d9f67926458f27d1f6d40c44ff8f355.zip opensim-SC-c84ddd8b0d9f67926458f27d1f6d40c44ff8f355.tar.gz opensim-SC-c84ddd8b0d9f67926458f27d1f6d40c44ff8f355.tar.bz2 opensim-SC-c84ddd8b0d9f67926458f27d1f6d40c44ff8f355.tar.xz |
* Introduced BaseHttpServer as base for UserHTTPServer and GridHTTPServer
Diffstat (limited to 'OpenGridServices.UserServer')
3 files changed, 10 insertions, 2 deletions
diff --git a/OpenGridServices.UserServer/OpenGridServices.UserServer.csproj b/OpenGridServices.UserServer/OpenGridServices.UserServer.csproj index 95f548c..d10710a 100644 --- a/OpenGridServices.UserServer/OpenGridServices.UserServer.csproj +++ b/OpenGridServices.UserServer/OpenGridServices.UserServer.csproj | |||
@@ -92,6 +92,12 @@ | |||
92 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 92 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
93 | <Private>False</Private> | 93 | <Private>False</Private> |
94 | </ProjectReference> | 94 | </ProjectReference> |
95 | <ProjectReference Include="..\Servers\OpenSim.Servers.csproj"> | ||
96 | <Name>OpenSim.Servers</Name> | ||
97 | <Project>{8BB20F0A-0000-0000-0000-000000000000}</Project> | ||
98 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
99 | <Private>False</Private> | ||
100 | </ProjectReference> | ||
95 | </ItemGroup> | 101 | </ItemGroup> |
96 | <ItemGroup> | 102 | <ItemGroup> |
97 | <Compile Include="Main.cs"> | 103 | <Compile Include="Main.cs"> |
diff --git a/OpenGridServices.UserServer/OpenGridServices.UserServer.exe.build b/OpenGridServices.UserServer/OpenGridServices.UserServer.exe.build index 7212a7b..a4bccb8 100644 --- a/OpenGridServices.UserServer/OpenGridServices.UserServer.exe.build +++ b/OpenGridServices.UserServer/OpenGridServices.UserServer.exe.build | |||
@@ -25,6 +25,7 @@ | |||
25 | <include name="System.Xml.dll" /> | 25 | <include name="System.Xml.dll" /> |
26 | <include name="../bin/OpenSim.Framework.dll" /> | 26 | <include name="../bin/OpenSim.Framework.dll" /> |
27 | <include name="../bin/OpenSim.Framework.Console.dll" /> | 27 | <include name="../bin/OpenSim.Framework.Console.dll" /> |
28 | <include name="../bin/OpenSim.Servers.dll" /> | ||
28 | <include name="../bin/libsecondlife.dll" /> | 29 | <include name="../bin/libsecondlife.dll" /> |
29 | <include name="../bin/Db4objects.Db4o.dll" /> | 30 | <include name="../bin/Db4objects.Db4o.dll" /> |
30 | </references> | 31 | </references> |
diff --git a/OpenGridServices.UserServer/UserHttp.cs b/OpenGridServices.UserServer/UserHttp.cs index 6fe7fc1..e1385f7 100644 --- a/OpenGridServices.UserServer/UserHttp.cs +++ b/OpenGridServices.UserServer/UserHttp.cs | |||
@@ -41,15 +41,16 @@ using OpenSim.Framework.User; | |||
41 | using OpenSim.Framework.Sims; | 41 | using OpenSim.Framework.Sims; |
42 | using OpenSim.Framework.Inventory; | 42 | using OpenSim.Framework.Inventory; |
43 | using OpenSim.Framework.Console; | 43 | using OpenSim.Framework.Console; |
44 | using OpenSim.Servers; | ||
44 | 45 | ||
45 | namespace OpenGridServices.UserServer | 46 | namespace OpenGridServices.UserServer |
46 | { | 47 | { |
47 | public class UserHTTPServer | 48 | public class UserHTTPServer : BaseHttpServer |
48 | { | 49 | { |
49 | public Thread HTTPD; | 50 | public Thread HTTPD; |
50 | public HttpListener Listener; | 51 | public HttpListener Listener; |
51 | 52 | ||
52 | public UserHTTPServer() | 53 | public UserHTTPServer() : base( 8002 ) |
53 | { | 54 | { |
54 | MainConsole.Instance.WriteLine("Starting up HTTP Server"); | 55 | MainConsole.Instance.WriteLine("Starting up HTTP Server"); |
55 | HTTPD = new Thread(new ThreadStart(StartHTTP)); | 56 | HTTPD = new Thread(new ThreadStart(StartHTTP)); |