aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMike Mazur2008-08-08 09:19:23 +0000
committerMike Mazur2008-08-08 09:19:23 +0000
commit97d5b5a1eb159e539586ca8043304f8277b8d0e3 (patch)
tree4fc345454e3d77899fc88060c56005e535137daf /OpenSim/Region
parentUpdate svn properties, minor formatting cleanup. (diff)
downloadopensim-SC_OLD-97d5b5a1eb159e539586ca8043304f8277b8d0e3.zip
opensim-SC_OLD-97d5b5a1eb159e539586ca8043304f8277b8d0e3.tar.gz
opensim-SC_OLD-97d5b5a1eb159e539586ca8043304f8277b8d0e3.tar.bz2
opensim-SC_OLD-97d5b5a1eb159e539586ca8043304f8277b8d0e3.tar.xz
De-coupling the IClientAPI interface and ClientManager class from the
libsl/libomv Packet, as other client stacks could use other data types to pass packets around. Starting with InPacket() here, more to come.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs11
-rw-r--r--OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs2
-rw-r--r--OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs2
3 files changed, 9 insertions, 6 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index a1e270b..0acbd31 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -3688,12 +3688,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP
3688 m_PacketHandler.PacketQueue.SetThrottleFromClient(throttles); 3688 m_PacketHandler.PacketQueue.SetThrottleFromClient(throttles);
3689 } 3689 }
3690 3690
3691 /// method gets called when a new packet has arrived from the UDP server. This happens after it's been decoded into a libsl object 3691 /// <summary>
3692 /// Method gets called when a new packet has arrived from the UDP
3693 /// server. This happens after it's been decoded into a libsl object.
3692 /// </summary> 3694 /// </summary>
3693 /// <param name="NewPack"></param> 3695 /// <param name="NewPack">object containing the packet.</param>
3694 public virtual void InPacket(Packet NewPack) 3696 public virtual void InPacket(object NewPack)
3695 { 3697 {
3696 m_PacketHandler.InPacket(NewPack); 3698 // Cast NewPack to Packet.
3699 m_PacketHandler.InPacket((Packet) NewPack);
3697 } 3700 }
3698 3701
3699 /// <summary> 3702 /// <summary>
diff --git a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs
index e286d23..fff2383 100644
--- a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs
+++ b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs
@@ -716,7 +716,7 @@ namespace OpenSim.Region.Environment.Modules.World.NPC
716 { 716 {
717 } 717 }
718 718
719 public void InPacket(Packet NewPack) 719 public void InPacket(object NewPack)
720 { 720 {
721 } 721 }
722 722
diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
index 2196dcc..e6aff15 100644
--- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
+++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
@@ -708,7 +708,7 @@ namespace OpenSim.Region.Examples.SimpleModule
708 { 708 {
709 } 709 }
710 710
711 public void InPacket(Packet NewPack) 711 public void InPacket(object NewPack)
712 { 712 {
713 } 713 }
714 714