aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/AgentCircuitManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/AgentCircuitManager.cs')
-rw-r--r--OpenSim/Framework/AgentCircuitManager.cs13
1 files changed, 8 insertions, 5 deletions
diff --git a/OpenSim/Framework/AgentCircuitManager.cs b/OpenSim/Framework/AgentCircuitManager.cs
index 96a7816..027d0c6 100644
--- a/OpenSim/Framework/AgentCircuitManager.cs
+++ b/OpenSim/Framework/AgentCircuitManager.cs
@@ -30,14 +30,13 @@ using OpenMetaverse;
30 30
31namespace OpenSim.Framework 31namespace OpenSim.Framework
32{ 32{
33 /// <summary>
34 /// Manage client circuits
35 /// </summary>
33 public class AgentCircuitManager 36 public class AgentCircuitManager
34 { 37 {
35 public Dictionary<uint, AgentCircuitData> AgentCircuits = new Dictionary<uint, AgentCircuitData>(); 38 public Dictionary<uint, AgentCircuitData> AgentCircuits = new Dictionary<uint, AgentCircuitData>();
36 39
37 public AgentCircuitManager()
38 {
39 }
40
41 public virtual AuthenticateResponse AuthenticateSession(UUID sessionID, UUID agentID, uint circuitcode) 40 public virtual AuthenticateResponse AuthenticateSession(UUID sessionID, UUID agentID, uint circuitcode)
42 { 41 {
43 AgentCircuitData validcircuit = null; 42 AgentCircuitData validcircuit = null;
@@ -74,6 +73,11 @@ namespace OpenSim.Framework
74 return (user); 73 return (user);
75 } 74 }
76 75
76 /// <summary>
77 /// Add information about a new circuit.
78 /// </summary>
79 /// <param name="circuitCode"></param>
80 /// <param name="agentData"></param>
77 public virtual void AddNewCircuit(uint circuitCode, AgentCircuitData agentData) 81 public virtual void AddNewCircuit(uint circuitCode, AgentCircuitData agentData)
78 { 82 {
79 if (AgentCircuits.ContainsKey(circuitCode)) 83 if (AgentCircuits.ContainsKey(circuitCode))
@@ -118,7 +122,6 @@ namespace OpenSim.Framework
118 /// </summary> 122 /// </summary>
119 /// <param name="circuitcode"></param> 123 /// <param name="circuitcode"></param>
120 /// <param name="newcircuitcode"></param> 124 /// <param name="newcircuitcode"></param>
121
122 public bool TryChangeCiruitCode(uint circuitcode, uint newcircuitcode) 125 public bool TryChangeCiruitCode(uint circuitcode, uint newcircuitcode)
123 { 126 {
124 lock (AgentCircuits) 127 lock (AgentCircuits)