diff options
Diffstat (limited to 'OpenSim/Services/Interfaces')
-rw-r--r-- | OpenSim/Services/Interfaces/IGridService.cs | 14 | ||||
-rw-r--r-- | OpenSim/Services/Interfaces/IHypergridServices.cs | 5 | ||||
-rw-r--r-- | OpenSim/Services/Interfaces/ISimulationService.cs | 4 |
3 files changed, 18 insertions, 5 deletions
diff --git a/OpenSim/Services/Interfaces/IGridService.cs b/OpenSim/Services/Interfaces/IGridService.cs index 8e6279e..bbf95ad 100644 --- a/OpenSim/Services/Interfaces/IGridService.cs +++ b/OpenSim/Services/Interfaces/IGridService.cs | |||
@@ -142,7 +142,7 @@ namespace OpenSim.Services.Interfaces | |||
142 | public string ServerURI | 142 | public string ServerURI |
143 | { | 143 | { |
144 | get { | 144 | get { |
145 | if ( m_serverURI != string.Empty ) { | 145 | if (!String.IsNullOrEmpty(m_serverURI)) { |
146 | return m_serverURI; | 146 | return m_serverURI; |
147 | } else { | 147 | } else { |
148 | if (m_httpPort == 0) | 148 | if (m_httpPort == 0) |
@@ -152,7 +152,7 @@ namespace OpenSim.Services.Interfaces | |||
152 | } | 152 | } |
153 | } | 153 | } |
154 | set { | 154 | set { |
155 | if ( value.EndsWith("/") ) { | 155 | if (value.EndsWith("/")) { |
156 | m_serverURI = value; | 156 | m_serverURI = value; |
157 | } else { | 157 | } else { |
158 | m_serverURI = value + '/'; | 158 | m_serverURI = value + '/'; |
@@ -161,6 +161,16 @@ namespace OpenSim.Services.Interfaces | |||
161 | } | 161 | } |
162 | protected string m_serverURI; | 162 | protected string m_serverURI; |
163 | 163 | ||
164 | /// <summary> | ||
165 | /// Provides direct access to the 'm_serverURI' field, without returning a generated URL if m_serverURI is missing. | ||
166 | /// </summary> | ||
167 | public string RawServerURI | ||
168 | { | ||
169 | get { return m_serverURI; } | ||
170 | set { m_serverURI = value; } | ||
171 | } | ||
172 | |||
173 | |||
164 | public string RegionName | 174 | public string RegionName |
165 | { | 175 | { |
166 | get { return m_regionName; } | 176 | get { return m_regionName; } |
diff --git a/OpenSim/Services/Interfaces/IHypergridServices.cs b/OpenSim/Services/Interfaces/IHypergridServices.cs index 30f27ee..5e012fb 100644 --- a/OpenSim/Services/Interfaces/IHypergridServices.cs +++ b/OpenSim/Services/Interfaces/IHypergridServices.cs | |||
@@ -52,13 +52,14 @@ namespace OpenSim.Services.Interfaces | |||
52 | /// <returns>The region the visitor should enter, or null if no region can be found / is allowed</returns> | 52 | /// <returns>The region the visitor should enter, or null if no region can be found / is allowed</returns> |
53 | GridRegion GetHyperlinkRegion(UUID regionID, UUID agentID, string agentHomeURI, out string message); | 53 | GridRegion GetHyperlinkRegion(UUID regionID, UUID agentID, string agentHomeURI, out string message); |
54 | 54 | ||
55 | bool LoginAgent(AgentCircuitData aCircuit, GridRegion destination, out string reason); | 55 | bool LoginAgent(GridRegion source, AgentCircuitData aCircuit, GridRegion destination, out string reason); |
56 | 56 | ||
57 | } | 57 | } |
58 | 58 | ||
59 | public interface IUserAgentService | 59 | public interface IUserAgentService |
60 | { | 60 | { |
61 | bool LoginAgentToGrid(AgentCircuitData agent, GridRegion gatekeeper, GridRegion finalDestination, bool fromLogin, out string reason); | 61 | bool LoginAgentToGrid(GridRegion source, AgentCircuitData agent, GridRegion gatekeeper, GridRegion finalDestination, bool fromLogin, out string reason); |
62 | |||
62 | void LogoutAgent(UUID userID, UUID sessionID); | 63 | void LogoutAgent(UUID userID, UUID sessionID); |
63 | 64 | ||
64 | /// <summary> | 65 | /// <summary> |
diff --git a/OpenSim/Services/Interfaces/ISimulationService.cs b/OpenSim/Services/Interfaces/ISimulationService.cs index d359056..375a35c 100644 --- a/OpenSim/Services/Interfaces/ISimulationService.cs +++ b/OpenSim/Services/Interfaces/ISimulationService.cs | |||
@@ -53,11 +53,13 @@ namespace OpenSim.Services.Interfaces | |||
53 | /// <summary> | 53 | /// <summary> |
54 | /// Ask the simulator hosting the destination to create an agent on that region. | 54 | /// Ask the simulator hosting the destination to create an agent on that region. |
55 | /// </summary> | 55 | /// </summary> |
56 | /// <param name="source">The region that the user is coming from. Will be null if the user | ||
57 | /// logged-in directly, or arrived from a simulator that doesn't send this parameter.</param> | ||
56 | /// <param name="destination"></param> | 58 | /// <param name="destination"></param> |
57 | /// <param name="aCircuit"></param> | 59 | /// <param name="aCircuit"></param> |
58 | /// <param name="flags"></param> | 60 | /// <param name="flags"></param> |
59 | /// <param name="reason">Reason message in the event of a failure.</param> | 61 | /// <param name="reason">Reason message in the event of a failure.</param> |
60 | bool CreateAgent(GridRegion destination, AgentCircuitData aCircuit, uint flags, out string reason); | 62 | bool CreateAgent(GridRegion source, GridRegion destination, AgentCircuitData aCircuit, uint flags, out string reason); |
61 | 63 | ||
62 | /// <summary> | 64 | /// <summary> |
63 | /// Full child agent update. | 65 | /// Full child agent update. |