aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/Tests
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-09-27 22:27:39 +0100
committerJustin Clark-Casey (justincc)2013-09-27 22:27:39 +0100
commit2cd95fac736cc99b1a2ad661e4a03810225ffaca (patch)
tree537c60270f8b3ce02950ca3486c064f77e38822b /OpenSim/Region/ClientStack/Linden/UDP/Tests
parentrefactor: rename Scene.IncomingCloseAgent() to CloseAgent() in order to make ... (diff)
downloadopensim-SC-2cd95fac736cc99b1a2ad661e4a03810225ffaca.zip
opensim-SC-2cd95fac736cc99b1a2ad661e4a03810225ffaca.tar.gz
opensim-SC-2cd95fac736cc99b1a2ad661e4a03810225ffaca.tar.bz2
opensim-SC-2cd95fac736cc99b1a2ad661e4a03810225ffaca.tar.xz
refactor: Rename Scene.AddNewClient() to AddNewAgent() to make it obvious in the code that this is symmetric with CloseAgent()
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/Tests')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs b/OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs
index 28b5eb7..e2178e5 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs
@@ -52,7 +52,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests
52 public override void Update(int frames) {} 52 public override void Update(int frames) {}
53 public override void LoadWorldMap() {} 53 public override void LoadWorldMap() {}
54 54
55 public override ISceneAgent AddNewClient(IClientAPI client, PresenceType type) 55 public override ISceneAgent AddNewAgent(IClientAPI client, PresenceType type)
56 { 56 {
57 client.OnObjectName += RecordObjectNameCall; 57 client.OnObjectName += RecordObjectNameCall;
58 58
@@ -61,6 +61,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests
61 } 61 }
62 62
63 public override bool CloseAgent(UUID agentID, bool force) { return true; } 63 public override bool CloseAgent(UUID agentID, bool force) { return true; }
64
64 public override bool CheckClient(UUID clientId, IPEndPoint endPoint) { return true; } 65 public override bool CheckClient(UUID clientId, IPEndPoint endPoint) { return true; }
65 66
66 public override void OtherRegionUp(GridRegion otherRegion) { } 67 public override void OtherRegionUp(GridRegion otherRegion) { }