diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs index 3dab5d2..6e6a2d1 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs | |||
@@ -558,6 +558,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
558 | m_console.OutputFormat("{0} set to {1} in {2}", param, rawValue, m_udpServer.Scene.Name); | 558 | m_console.OutputFormat("{0} set to {1} in {2}", param, rawValue, m_udpServer.Scene.Name); |
559 | } | 559 | } |
560 | 560 | ||
561 | /* not in use, nothing to set/get from lludp | ||
561 | private void HandleClientGetCommand(string module, string[] args) | 562 | private void HandleClientGetCommand(string module, string[] args) |
562 | { | 563 | { |
563 | if (SceneManager.Instance.CurrentScene != null && SceneManager.Instance.CurrentScene != m_udpServer.Scene) | 564 | if (SceneManager.Instance.CurrentScene != null && SceneManager.Instance.CurrentScene != m_udpServer.Scene) |
@@ -584,11 +585,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
584 | m_console.OutputFormat( | 585 | m_console.OutputFormat( |
585 | "Client debug parameters for {0} ({1}) in {2}", | 586 | "Client debug parameters for {0} ({1}) in {2}", |
586 | sp.Name, sp.IsChildAgent ? "child" : "root", m_udpServer.Scene.Name); | 587 | sp.Name, sp.IsChildAgent ? "child" : "root", m_udpServer.Scene.Name); |
587 | |||
588 | ConsoleDisplayList cdl = new ConsoleDisplayList(); | ||
589 | cdl.AddRow("process-unacked-sends", udpClient.ProcessUnackedSends); | ||
590 | |||
591 | m_console.Output(cdl.ToString()); | ||
592 | } | 588 | } |
593 | }); | 589 | }); |
594 | } | 590 | } |
@@ -611,28 +607,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
611 | 607 | ||
612 | if (args.Length == 8) | 608 | if (args.Length == 8) |
613 | name = string.Format("{0} {1}", args[6], args[7]); | 609 | name = string.Format("{0} {1}", args[6], args[7]); |
614 | 610 | // nothing here now | |
615 | if (param == "process-unacked-sends") | ||
616 | { | ||
617 | bool newValue; | ||
618 | |||
619 | if (!ConsoleUtil.TryParseConsoleBool(MainConsole.Instance, rawValue, out newValue)) | ||
620 | return; | ||
621 | |||
622 | m_udpServer.Scene.ForEachScenePresence( | ||
623 | sp => | ||
624 | { | ||
625 | if ((name == null || sp.Name == name) && sp.ControllingClient is LLClientView) | ||
626 | { | ||
627 | LLUDPClient udpClient = ((LLClientView)sp.ControllingClient).UDPClient; | ||
628 | udpClient.ProcessUnackedSends = newValue; | ||
629 | |||
630 | m_console.OutputFormat("{0} set to {1} for {2} in {3}", param, newValue, sp.Name, m_udpServer.Scene.Name); | ||
631 | } | ||
632 | }); | ||
633 | } | ||
634 | } | 611 | } |
635 | 612 | */ | |
636 | private void HandlePacketCommand(string module, string[] args) | 613 | private void HandlePacketCommand(string module, string[] args) |
637 | { | 614 | { |
638 | if (SceneManager.Instance.CurrentScene != null && SceneManager.Instance.CurrentScene != m_udpServer.Scene) | 615 | if (SceneManager.Instance.CurrentScene != null && SceneManager.Instance.CurrentScene != m_udpServer.Scene) |