aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-12-08 18:34:23 +0000
committerJustin Clark-Casey (justincc)2011-12-08 18:34:23 +0000
commitf61e54892f2284b6f89bacf3069467c05b2eea11 (patch)
tree87cb0933707a8e02f920910c7669273232021470 /OpenSim/Tests
parentSimplify Scene.AddNewClient() (diff)
downloadopensim-SC-f61e54892f2284b6f89bacf3069467c05b2eea11.zip
opensim-SC-f61e54892f2284b6f89bacf3069467c05b2eea11.tar.gz
opensim-SC-f61e54892f2284b6f89bacf3069467c05b2eea11.tar.bz2
opensim-SC-f61e54892f2284b6f89bacf3069467c05b2eea11.tar.xz
On a new client circuit, send the initial reply ack to let the client know it's live before sending other data.
This means that avatar/appearance data of other avatars and scene objects for a client will be sent after the ack rather than possibly before. This may stop some avatars appearing grey on login. This introduces a new OpenSim.Framework.ISceneAgent to accompany the existing OpenSim.Framework.ISceneObject and ISceneEntity This allows IClientAPI to handle this as it can't reference OpenSim.Region.Framework.Interfaces
Diffstat (limited to 'OpenSim/Tests')
-rw-r--r--OpenSim/Tests/Common/Mock/TestClient.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs
index b83ef9b..4e17b04 100644
--- a/OpenSim/Tests/Common/Mock/TestClient.cs
+++ b/OpenSim/Tests/Common/Mock/TestClient.cs
@@ -54,7 +54,7 @@ namespace OpenSim.Tests.Common.Mock
54 public Scene TeleportTargetScene; 54 public Scene TeleportTargetScene;
55 private TestClient TeleportSceneClient; 55 private TestClient TeleportSceneClient;
56 56
57 private IScene m_scene; 57 private Scene m_scene;
58 58
59 // Properties so that we can get at received data for test purposes 59 // Properties so that we can get at received data for test purposes
60 public List<UUID> ReceivedOfflineNotifications { get; private set; } 60 public List<UUID> ReceivedOfflineNotifications { get; private set; }
@@ -324,6 +324,8 @@ namespace OpenSim.Tests.Common.Mock
324 /// </value> 324 /// </value>
325 private UUID m_agentId; 325 private UUID m_agentId;
326 326
327 public ISceneAgent SceneAgent { get { throw new NotImplementedException(); } }
328
327 /// <value> 329 /// <value>
328 /// The last caps seed url that this client was given. 330 /// The last caps seed url that this client was given.
329 /// </value> 331 /// </value>
@@ -437,7 +439,7 @@ namespace OpenSim.Tests.Common.Mock
437 /// </summary> 439 /// </summary>
438 /// <param name="agentData"></param> 440 /// <param name="agentData"></param>
439 /// <param name="scene"></param> 441 /// <param name="scene"></param>
440 public TestClient(AgentCircuitData agentData, IScene scene) 442 public TestClient(AgentCircuitData agentData, Scene scene)
441 { 443 {
442 m_agentId = agentData.AgentID; 444 m_agentId = agentData.AgentID;
443 m_firstName = agentData.firstname; 445 m_firstName = agentData.firstname;
@@ -899,6 +901,7 @@ namespace OpenSim.Tests.Common.Mock
899 901
900 public void Start() 902 public void Start()
901 { 903 {
904 throw new NotImplementedException();
902 } 905 }
903 906
904 public void Stop() 907 public void Stop()