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.
This commit is contained in:
Mike Mazur
2008-08-08 09:19:23 +00:00
parent 657af5e611
commit 97d5b5a1eb
5 changed files with 16 additions and 8 deletions

View File

@@ -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
/// <summary>
/// Method gets called when a new packet has arrived from the UDP
/// server. This happens after it's been decoded into a libsl object.
/// </summary>
/// <param name="NewPack"></param>
public virtual void InPacket(Packet NewPack)
/// <param name="NewPack">object containing the packet.</param>
public virtual void InPacket(object NewPack)
{
m_PacketHandler.InPacket(NewPack);
// Cast NewPack to Packet.
m_PacketHandler.InPacket((Packet) NewPack);
}
/// <summary>