diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Server/Base/ProtocolVersions.cs (renamed from OpenSim/Framework/Servers/CheckSumServer.cs) | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/CheckSumServer.cs b/OpenSim/Server/Base/ProtocolVersions.cs index ad5281d..8db5bb6 100644 --- a/OpenSim/Framework/Servers/CheckSumServer.cs +++ b/OpenSim/Server/Base/ProtocolVersions.cs | |||
@@ -1,4 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) Contributors, http://opensimulator.org/ | 2 | * Copyright (c) Contributors, http://opensimulator.org/ |
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | 3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. |
4 | * | 4 | * |
@@ -24,3 +24,33 @@ | |||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | 24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | |||
28 | namespace OpenSim.Server.Base | ||
29 | { | ||
30 | public class ProtocolVersions | ||
31 | { | ||
32 | /// <value> | ||
33 | /// This is the external protocol versions. It is separate from the OpenSimulator project version. | ||
34 | /// | ||
35 | /// These version numbers should be increased by 1 every time a code | ||
36 | /// change in the Service.Connectors and Server.Handlers, espectively, | ||
37 | /// makes the previous OpenSimulator revision incompatible | ||
38 | /// with the new revision. | ||
39 | /// | ||
40 | /// Changes which are compatible with an older revision (e.g. older revisions experience degraded functionality | ||
41 | /// but not outright failure) do not need a version number increment. | ||
42 | /// | ||
43 | /// Having this version number allows the grid service to reject connections from regions running a version | ||
44 | /// of the code that is too old. | ||
45 | /// | ||
46 | /// </value> | ||
47 | |||
48 | // The range of acceptable servers for client-side connectors | ||
49 | public readonly static int ClientProtocolVersionMin = 0; | ||
50 | public readonly static int ClientProtocolVersionMax = 0; | ||
51 | |||
52 | // The range of acceptable clients in server-side handlers | ||
53 | public readonly static int ServerProtocolVersionMin = 0; | ||
54 | public readonly static int ServerProtocolVersionMax = 0; | ||
55 | } | ||
56 | } | ||