From f61e54892f2284b6f89bacf3069467c05b2eea11 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Thu, 8 Dec 2011 18:34:23 +0000 Subject: 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 --- OpenSim/Tests/Common/Mock/TestClient.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'OpenSim/Tests') 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 public Scene TeleportTargetScene; private TestClient TeleportSceneClient; - private IScene m_scene; + private Scene m_scene; // Properties so that we can get at received data for test purposes public List ReceivedOfflineNotifications { get; private set; } @@ -324,6 +324,8 @@ namespace OpenSim.Tests.Common.Mock /// private UUID m_agentId; + public ISceneAgent SceneAgent { get { throw new NotImplementedException(); } } + /// /// The last caps seed url that this client was given. /// @@ -437,7 +439,7 @@ namespace OpenSim.Tests.Common.Mock /// /// /// - public TestClient(AgentCircuitData agentData, IScene scene) + public TestClient(AgentCircuitData agentData, Scene scene) { m_agentId = agentData.AgentID; m_firstName = agentData.firstname; @@ -899,6 +901,7 @@ namespace OpenSim.Tests.Common.Mock public void Start() { + throw new NotImplementedException(); } public void Stop() -- cgit v1.1