From a963b3057bdc80fc403e2b8402d0666c3d3f5c97 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Tue, 18 Sep 2007 09:59:33 +0000 Subject: * Replaced usage of ClientView with IClientAPI * Some propertification and hideousness of fields. --- OpenSim/Region/ClientStack/PacketServer.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/ClientStack/PacketServer.cs') diff --git a/OpenSim/Region/ClientStack/PacketServer.cs b/OpenSim/Region/ClientStack/PacketServer.cs index 5d0862b..481e445 100644 --- a/OpenSim/Region/ClientStack/PacketServer.cs +++ b/OpenSim/Region/ClientStack/PacketServer.cs @@ -40,7 +40,7 @@ namespace OpenSim.Region.ClientStack { private ClientStackNetworkHandler _networkHandler; private IScene _localScene; - public Dictionary ClientThreads = new Dictionary(); + public Dictionary ClientThreads = new Dictionary(); private ClientManager m_clientManager = new ClientManager(); public ClientManager ClientManager { @@ -106,7 +106,7 @@ namespace OpenSim.Region.ClientStack /// /// /// - public virtual void SendPacketToAllExcept(Packet packet, ClientView simClient) + public virtual void SendPacketToAllExcept(Packet packet, IClientAPI simClient) { } @@ -129,7 +129,7 @@ namespace OpenSim.Region.ClientStack } - protected virtual ClientView CreateNewClient(EndPoint remoteEP, UseCircuitCodePacket initialcirpack, Dictionary clientThreads, IScene scene, AssetCache assetCache, PacketServer packServer, AgentCircuitManager authenSessions) + protected virtual IClientAPI CreateNewClient(EndPoint remoteEP, UseCircuitCodePacket initialcirpack, Dictionary clientThreads, IScene scene, AssetCache assetCache, PacketServer packServer, AgentCircuitManager authenSessions) { return new ClientView(remoteEP, initialcirpack, clientThreads, scene, assetCache, packServer, authenSessions ); } @@ -145,7 +145,7 @@ namespace OpenSim.Region.ClientStack /// public virtual bool AddNewClient(EndPoint epSender, UseCircuitCodePacket useCircuit, AssetCache assetCache, AgentCircuitManager authenticateSessionsClass) { - ClientView newuser = + IClientAPI newuser = CreateNewClient(epSender, useCircuit, ClientThreads, _localScene, assetCache, this, authenticateSessionsClass); -- cgit v1.1