From 97d5b5a1eb159e539586ca8043304f8277b8d0e3 Mon Sep 17 00:00:00 2001
From: Mike Mazur
Date: Fri, 8 Aug 2008 09:19:23 +0000
Subject: 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.
---
OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
(limited to 'OpenSim/Region/ClientStack')
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
m_PacketHandler.PacketQueue.SetThrottleFromClient(throttles);
}
- /// method gets called when a new packet has arrived from the UDP server. This happens after it's been decoded into a libsl object
+ ///
+ /// Method gets called when a new packet has arrived from the UDP
+ /// server. This happens after it's been decoded into a libsl object.
///
- ///
- public virtual void InPacket(Packet NewPack)
+ /// object containing the packet.
+ public virtual void InPacket(object NewPack)
{
- m_PacketHandler.InPacket(NewPack);
+ // Cast NewPack to Packet.
+ m_PacketHandler.InPacket((Packet) NewPack);
}
///
--
cgit v1.1