diff options
author | Melanie | 2012-07-13 02:27:16 +0100 |
---|---|---|
committer | Melanie | 2012-07-13 02:27:16 +0100 |
commit | 64393a7ca89e2c7c6f032f9da096feb8db7fb24f (patch) | |
tree | 12e0aaae0401cde2e4310f25efa96a64559ae939 /OpenSim/Region/ClientStack/Linden/UDP | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Remove a callstack print out I accidentally left in 2 commits ago in 9ccb578 (diff) | |
download | opensim-SC_OLD-64393a7ca89e2c7c6f032f9da096feb8db7fb24f.zip opensim-SC_OLD-64393a7ca89e2c7c6f032f9da096feb8db7fb24f.tar.gz opensim-SC_OLD-64393a7ca89e2c7c6f032f9da096feb8db7fb24f.tar.bz2 opensim-SC_OLD-64393a7ca89e2c7c6f032f9da096feb8db7fb24f.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/Framework/Scenes/Scene.cs
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 31 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | 2 |
2 files changed, 3 insertions, 30 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 3461971..e6289bd 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -59,7 +59,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
59 | /// Handles new client connections | 59 | /// Handles new client connections |
60 | /// Constructor takes a single Packet and authenticates everything | 60 | /// Constructor takes a single Packet and authenticates everything |
61 | /// </summary> | 61 | /// </summary> |
62 | public class LLClientView : IClientAPI, IClientCore, IClientIM, IClientChat, IClientInventory, IClientIPEndpoint, IStatsCollector | 62 | public class LLClientView : IClientAPI, IClientCore, IClientIM, IClientChat, IClientInventory, IStatsCollector |
63 | { | 63 | { |
64 | /// <value> | 64 | /// <value> |
65 | /// Debug packet level. See OpenSim.RegisterConsoleCommands() for more details. | 65 | /// Debug packet level. See OpenSim.RegisterConsoleCommands() for more details. |
@@ -365,7 +365,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
365 | protected string m_lastName; | 365 | protected string m_lastName; |
366 | protected Thread m_clientThread; | 366 | protected Thread m_clientThread; |
367 | protected Vector3 m_startpos; | 367 | protected Vector3 m_startpos; |
368 | protected EndPoint m_userEndPoint; | ||
369 | protected UUID m_activeGroupID; | 368 | protected UUID m_activeGroupID; |
370 | protected string m_activeGroupName = String.Empty; | 369 | protected string m_activeGroupName = String.Empty; |
371 | protected ulong m_activeGroupPowers; | 370 | protected ulong m_activeGroupPowers; |
@@ -458,7 +457,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
458 | /// <summary> | 457 | /// <summary> |
459 | /// Constructor | 458 | /// Constructor |
460 | /// </summary> | 459 | /// </summary> |
461 | public LLClientView(EndPoint remoteEP, Scene scene, LLUDPServer udpServer, LLUDPClient udpClient, AuthenticateResponse sessionInfo, | 460 | public LLClientView(Scene scene, LLUDPServer udpServer, LLUDPClient udpClient, AuthenticateResponse sessionInfo, |
462 | UUID agentId, UUID sessionId, uint circuitCode) | 461 | UUID agentId, UUID sessionId, uint circuitCode) |
463 | { | 462 | { |
464 | // DebugPacketLevel = 1; | 463 | // DebugPacketLevel = 1; |
@@ -466,7 +465,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
466 | RegisterInterface<IClientIM>(this); | 465 | RegisterInterface<IClientIM>(this); |
467 | RegisterInterface<IClientInventory>(this); | 466 | RegisterInterface<IClientInventory>(this); |
468 | RegisterInterface<IClientChat>(this); | 467 | RegisterInterface<IClientChat>(this); |
469 | RegisterInterface<IClientIPEndpoint>(this); | ||
470 | 468 | ||
471 | m_scene = scene; | 469 | m_scene = scene; |
472 | m_entityUpdates = new PriorityQueue(m_scene.Entities.Count); | 470 | m_entityUpdates = new PriorityQueue(m_scene.Entities.Count); |
@@ -483,7 +481,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
483 | m_sessionId = sessionId; | 481 | m_sessionId = sessionId; |
484 | m_secureSessionId = sessionInfo.LoginInfo.SecureSession; | 482 | m_secureSessionId = sessionInfo.LoginInfo.SecureSession; |
485 | m_circuitCode = circuitCode; | 483 | m_circuitCode = circuitCode; |
486 | m_userEndPoint = remoteEP; | ||
487 | m_firstName = sessionInfo.LoginInfo.First; | 484 | m_firstName = sessionInfo.LoginInfo.First; |
488 | m_lastName = sessionInfo.LoginInfo.Last; | 485 | m_lastName = sessionInfo.LoginInfo.Last; |
489 | m_startpos = sessionInfo.LoginInfo.StartPos; | 486 | m_startpos = sessionInfo.LoginInfo.StartPos; |
@@ -11982,7 +11979,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
11982 | { | 11979 | { |
11983 | ClientInfo info = m_udpClient.GetClientInfo(); | 11980 | ClientInfo info = m_udpClient.GetClientInfo(); |
11984 | 11981 | ||
11985 | info.userEP = m_userEndPoint; | ||
11986 | info.proxyEP = null; | 11982 | info.proxyEP = null; |
11987 | info.agentcircuit = RequestClientInfo(); | 11983 | info.agentcircuit = RequestClientInfo(); |
11988 | 11984 | ||
@@ -11994,11 +11990,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
11994 | m_udpClient.SetClientInfo(info); | 11990 | m_udpClient.SetClientInfo(info); |
11995 | } | 11991 | } |
11996 | 11992 | ||
11997 | public EndPoint GetClientEP() | ||
11998 | { | ||
11999 | return m_userEndPoint; | ||
12000 | } | ||
12001 | |||
12002 | #region Media Parcel Members | 11993 | #region Media Parcel Members |
12003 | 11994 | ||
12004 | public void SendParcelMediaCommand(uint flags, ParcelMediaCommandEnum command, float time) | 11995 | public void SendParcelMediaCommand(uint flags, ParcelMediaCommandEnum command, float time) |
@@ -12272,24 +12263,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
12272 | return numPackets; | 12263 | return numPackets; |
12273 | } | 12264 | } |
12274 | 12265 | ||
12275 | #region IClientIPEndpoint Members | ||
12276 | |||
12277 | public IPAddress EndPoint | ||
12278 | { | ||
12279 | get | ||
12280 | { | ||
12281 | if (m_userEndPoint is IPEndPoint) | ||
12282 | { | ||
12283 | IPEndPoint ep = (IPEndPoint)m_userEndPoint; | ||
12284 | |||
12285 | return ep.Address; | ||
12286 | } | ||
12287 | return null; | ||
12288 | } | ||
12289 | } | ||
12290 | |||
12291 | #endregion | ||
12292 | |||
12293 | public void SendRebakeAvatarTextures(UUID textureID) | 12266 | public void SendRebakeAvatarTextures(UUID textureID) |
12294 | { | 12267 | { |
12295 | RebakeAvatarTexturesPacket pack = | 12268 | RebakeAvatarTexturesPacket pack = |
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index 754d9d2..bcb45cf 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | |||
@@ -1106,7 +1106,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1106 | { | 1106 | { |
1107 | LLUDPClient udpClient = new LLUDPClient(this, ThrottleRates, m_throttle, circuitCode, agentID, remoteEndPoint, m_defaultRTO, m_maxRTO); | 1107 | LLUDPClient udpClient = new LLUDPClient(this, ThrottleRates, m_throttle, circuitCode, agentID, remoteEndPoint, m_defaultRTO, m_maxRTO); |
1108 | 1108 | ||
1109 | client = new LLClientView(remoteEndPoint, m_scene, this, udpClient, sessionInfo, agentID, sessionID, circuitCode); | 1109 | client = new LLClientView(m_scene, this, udpClient, sessionInfo, agentID, sessionID, circuitCode); |
1110 | client.OnLogout += LogoutHandler; | 1110 | client.OnLogout += LogoutHandler; |
1111 | 1111 | ||
1112 | ((LLClientView)client).DisableFacelights = m_disableFacelights; | 1112 | ((LLClientView)client).DisableFacelights = m_disableFacelights; |