| 2 |
using OpenMetaverse.Packets; |
using OpenMetaverse.Packets; |
| 3 |
using OpenSim.Framework; |
using OpenSim.Framework; |
| 4 |
using OpenSim.Framework.Communications.Cache; |
using OpenSim.Framework.Communications.Cache; |
| 5 |
|
using OpenSim.Region.ClientStack; |
| 6 |
using OpenSim.Region.ClientStack.LindenUDP; |
using OpenSim.Region.ClientStack.LindenUDP; |
| 7 |
|
|
| 8 |
namespace ModularRex.RexNetwork |
namespace ModularRex.RexNetwork |
| 9 |
{ |
{ |
| 10 |
public class RexPacketServer : LLPacketServer |
public class RexPacketServer : LLPacketServer |
| 11 |
{ |
{ |
| 12 |
public RexPacketServer(LLClientStackNetworkHandler networkHandler) : base(networkHandler) |
public RexPacketServer(ILLClientStackNetworkHandler networkHandler, ClientStackUserSettings userSettings) |
| 13 |
|
: base(networkHandler, userSettings) |
| 14 |
{ |
{ |
| 15 |
} |
} |
| 16 |
|
|
| 25 |
return |
return |
| 26 |
new RexClientView(remoteEP, scene, assetCache, packServer, |
new RexClientView(remoteEP, scene, assetCache, packServer, |
| 27 |
authenSessions, agentId, sessionId, |
authenSessions, agentId, sessionId, |
| 28 |
circuitCode, proxyEP); |
circuitCode, proxyEP, new ClientStackUserSettings()); |
| 29 |
} |
} |
| 30 |
|
|
| 31 |
public override bool AddNewClient(EndPoint epSender, UseCircuitCodePacket useCircuit, AssetCache assetCache, AgentCircuitManager circuitManager, EndPoint proxyEP) |
public override bool AddNewClient(EndPoint epSender, UseCircuitCodePacket useCircuit, AssetCache assetCache, AgentCircuitManager circuitManager, EndPoint proxyEP) |