diff options
author | Justin Clarke Casey | 2008-09-07 03:22:33 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-09-07 03:22:33 +0000 |
commit | 78f831ef5220907e4d50422a5422063921062cf8 (patch) | |
tree | 6efd3ce92be0a0594dc14cfe18f888d050391702 /OpenSim/Framework | |
parent | * minor: just minor doc and tidy up (diff) | |
download | opensim-SC-78f831ef5220907e4d50422a5422063921062cf8.zip opensim-SC-78f831ef5220907e4d50422a5422063921062cf8.tar.gz opensim-SC-78f831ef5220907e4d50422a5422063921062cf8.tar.bz2 opensim-SC-78f831ef5220907e4d50422a5422063921062cf8.tar.xz |
* minor: Clean up of logging messages to make following the client login process easier
* documentation
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/AgentCircuitManager.cs | 13 |
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 | ||
31 | namespace OpenSim.Framework | 31 | namespace 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) |