ConfigSettings.cs 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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
  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.
  26. */
  27. namespace OpenSim.Framework
  28. {
  29. public class ConfigSettings
  30. {
  31. private string m_physicsEngine;
  32. public string PhysicsEngine
  33. {
  34. get { return m_physicsEngine; }
  35. set { m_physicsEngine = value; }
  36. }
  37. private string m_meshEngineName;
  38. public string MeshEngineName
  39. {
  40. get { return m_meshEngineName; }
  41. set { m_meshEngineName = value; }
  42. }
  43. private bool m_standalone;
  44. public bool Standalone
  45. {
  46. get { return m_standalone; }
  47. set { m_standalone = value; }
  48. }
  49. private bool m_see_into_region_from_neighbor;
  50. public bool See_into_region_from_neighbor
  51. {
  52. get { return m_see_into_region_from_neighbor; }
  53. set { m_see_into_region_from_neighbor = value; }
  54. }
  55. private string m_storageDll;
  56. public string StorageDll
  57. {
  58. get { return m_storageDll; }
  59. set { m_storageDll = value; }
  60. }
  61. private string m_clientstackDll;
  62. public string ClientstackDll
  63. {
  64. get { return m_clientstackDll; }
  65. set { m_clientstackDll = value; }
  66. }
  67. private bool m_physicalPrim;
  68. public bool PhysicalPrim
  69. {
  70. get { return m_physicalPrim; }
  71. set { m_physicalPrim = value; }
  72. }
  73. private bool m_standaloneAuthenticate = false;
  74. public bool StandaloneAuthenticate
  75. {
  76. get { return m_standaloneAuthenticate; }
  77. set { m_standaloneAuthenticate = value; }
  78. }
  79. private string m_standaloneWelcomeMessage = null;
  80. public string StandaloneWelcomeMessage
  81. {
  82. get { return m_standaloneWelcomeMessage; }
  83. set { m_standaloneWelcomeMessage = value; }
  84. }
  85. private string m_standaloneInventoryPlugin;
  86. public string StandaloneInventoryPlugin
  87. {
  88. get { return m_standaloneInventoryPlugin; }
  89. set { m_standaloneInventoryPlugin = value; }
  90. }
  91. private string m_standaloneUserPlugin;
  92. public string StandaloneUserPlugin
  93. {
  94. get { return m_standaloneUserPlugin; }
  95. set { m_standaloneUserPlugin = value; }
  96. }
  97. private string m_standaloneInventorySource;
  98. public string StandaloneInventorySource
  99. {
  100. get { return m_standaloneInventorySource; }
  101. set { m_standaloneInventorySource = value; }
  102. }
  103. private string m_standaloneUserSource;
  104. public string StandaloneUserSource
  105. {
  106. get { return m_standaloneUserSource; }
  107. set { m_standaloneUserSource = value; }
  108. }
  109. protected string m_storageConnectionString;
  110. public string StorageConnectionString
  111. {
  112. get { return m_storageConnectionString; }
  113. set { m_storageConnectionString = value; }
  114. }
  115. protected string m_estateConnectionString;
  116. public string EstateConnectionString
  117. {
  118. get { return m_estateConnectionString; }
  119. set { m_estateConnectionString = value; }
  120. }
  121. protected string m_librariesXMLFile;
  122. public string LibrariesXMLFile
  123. {
  124. get
  125. {
  126. return m_librariesXMLFile;
  127. }
  128. set
  129. {
  130. m_librariesXMLFile = value;
  131. }
  132. }
  133. public const uint DefaultAssetServerHttpPort = 8003;
  134. public const uint DefaultRegionHttpPort = 9000;
  135. public static uint DefaultRegionRemotingPort = 8895; // This is actually assigned to, but then again, the remoting is obsolete, right?
  136. public const uint DefaultUserServerHttpPort = 8002;
  137. public const bool DefaultUserServerHttpSSL = false;
  138. public const uint DefaultMessageServerHttpPort = 8006;
  139. public const bool DefaultMessageServerHttpSSL = false;
  140. public const uint DefaultGridServerHttpPort = 8003;
  141. public const uint DefaultInventoryServerHttpPort = 8003;
  142. }
  143. }