diff options
author | Adam Frisby | 2009-12-27 15:03:10 +1100 |
---|---|---|
committer | Adam Frisby | 2009-12-27 15:03:10 +1100 |
commit | fd777cc7b964a302f335ad91735f02554582c648 (patch) | |
tree | 4b448a6ea13b3074a5c54beed0a8744127b2930b /OpenSim/Client/Sirikata/SirikataModule.cs | |
parent | * Adding Google.ProtocolBuffers.dll dependency (BSD licensed) (diff) | |
download | opensim-SC_OLD-fd777cc7b964a302f335ad91735f02554582c648.zip opensim-SC_OLD-fd777cc7b964a302f335ad91735f02554582c648.tar.gz opensim-SC_OLD-fd777cc7b964a302f335ad91735f02554582c648.tar.bz2 opensim-SC_OLD-fd777cc7b964a302f335ad91735f02554582c648.tar.xz |
* Implements Sirikata ClientStack Module
* Just a stub (imports all the sirikata protocol, and that's about it.)
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Client/Sirikata/SirikataModule.cs | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/OpenSim/Client/Sirikata/SirikataModule.cs b/OpenSim/Client/Sirikata/SirikataModule.cs new file mode 100644 index 0000000..d2d7ff8 --- /dev/null +++ b/OpenSim/Client/Sirikata/SirikataModule.cs | |||
@@ -0,0 +1,104 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://opensimulator.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSimulator Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
24 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
25 | */ | ||
26 | // THIS MODULE USES CODE FROM SIRIKATA, THE SIRIKATA LICENSE IS BELOW | ||
27 | /* | ||
28 | Sirikata is Licensed using the revised BSD license. | ||
29 | If you have any questions, contact Patrick Horn at <patrick.horn@gmail.com> | ||
30 | |||
31 | |||
32 | Copyright (c) 2008, the Sirikata developers (see AUTHORS file for credit). | ||
33 | All rights reserved. | ||
34 | |||
35 | Redistribution and use in source and binary forms, with or without | ||
36 | modification, are permitted provided that the following conditions are | ||
37 | met: | ||
38 | * Redistributions of source code must retain the above copyright | ||
39 | notice, this list of conditions and the following disclaimer. | ||
40 | * Redistributions in binary form must reproduce the above copyright | ||
41 | notice, this list of conditions and the following disclaimer in | ||
42 | the documentation and/or other materials provided with the | ||
43 | distribution. | ||
44 | * Neither the name of Sirikata nor the names of its contributors may | ||
45 | be used to endorse or promote products derived from this software | ||
46 | without specific prior written permission. | ||
47 | |||
48 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS | ||
49 | IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | ||
50 | TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A | ||
51 | PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER | ||
52 | OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
53 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | ||
54 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | ||
55 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
56 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
57 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
58 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
59 | */ | ||
60 | |||
61 | using System; | ||
62 | using System.Collections.Generic; | ||
63 | using Nini.Config; | ||
64 | using OpenMetaverse; | ||
65 | using OpenSim.Framework; | ||
66 | using OpenSim.Framework.Servers; | ||
67 | using OpenSim.Framework.Servers.HttpServer; | ||
68 | using OpenSim.Region.Framework.Interfaces; | ||
69 | using OpenSim.Region.Framework.Scenes; | ||
70 | |||
71 | namespace OpenSim.Client.Sirikata | ||
72 | { | ||
73 | class SirikataModule : IRegionModule | ||
74 | { | ||
75 | #region Implementation of IRegionModule | ||
76 | |||
77 | public void Initialise(Scene scene, IConfigSource source) | ||
78 | { | ||
79 | |||
80 | } | ||
81 | |||
82 | public void PostInitialise() | ||
83 | { | ||
84 | |||
85 | } | ||
86 | |||
87 | public void Close() | ||
88 | { | ||
89 | |||
90 | } | ||
91 | |||
92 | public string Name | ||
93 | { | ||
94 | get { return "Sirikata ClientStack Module"; } | ||
95 | } | ||
96 | |||
97 | public bool IsSharedModule | ||
98 | { | ||
99 | get { return true; } | ||
100 | } | ||
101 | |||
102 | #endregion | ||
103 | } | ||
104 | } | ||