From ee5bd67b82f2fae77477b22765ba830e29ce4fd3 Mon Sep 17 00:00:00 2001 From: MW Date: Thu, 31 May 2007 13:45:18 +0000 Subject: --- OpenSim/OpenSim.RegionServer/PacketServer.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'OpenSim/OpenSim.RegionServer/PacketServer.cs') diff --git a/OpenSim/OpenSim.RegionServer/PacketServer.cs b/OpenSim/OpenSim.RegionServer/PacketServer.cs index 0ab4a8d..ab77b5d 100644 --- a/OpenSim/OpenSim.RegionServer/PacketServer.cs +++ b/OpenSim/OpenSim.RegionServer/PacketServer.cs @@ -16,10 +16,12 @@ namespace OpenSim private IWorld _localWorld; public Dictionary ClientThreads = new Dictionary(); public Dictionary ClientAPIs = new Dictionary(); + protected uint serverPort; - public PacketServer(OpenSimNetworkHandler networkHandler) + public PacketServer(OpenSimNetworkHandler networkHandler, uint port) { _networkHandler = networkHandler; + this.serverPort = port; _networkHandler.RegisterPacketServer(this); } @@ -66,7 +68,7 @@ namespace OpenSim public virtual bool AddNewClient(EndPoint epSender, UseCircuitCodePacket useCircuit, AssetCache assetCache, InventoryCache inventoryCache, AuthenticateSessionsBase authenticateSessionsClass) { - ClientView newuser = new ClientView(epSender, useCircuit, this.ClientThreads, this._localWorld, assetCache, this, inventoryCache, authenticateSessionsClass); + ClientView newuser = new ClientView(epSender, useCircuit, this.ClientThreads, this._localWorld, assetCache, this, inventoryCache, authenticateSessionsClass, serverPort); this.ClientThreads.Add(useCircuit.CircuitCode.Code, newuser); this.ClientAPIs.Add(useCircuit.CircuitCode.Code, (IClientAPI)newuser); -- cgit v1.1