mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user