mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
* Added missing references to prebuild.xml and commented out the LindenUDP tests until a new test harness is written
* Clients are no longer disconnected when a packet handler crashes. We'll see how this works out in practice * Added documentation and cleanup, getting ready for the first public push * Deleted an old LLUDP file
This commit is contained in:
@@ -31,6 +31,13 @@ using OpenMetaverse;
|
||||
|
||||
namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
{
|
||||
/// <summary>
|
||||
/// Holds a reference to the <seealso cref="LLUDPClient"/> this packet is
|
||||
/// destined for, along with the serialized packet data, sequence number
|
||||
/// (if this is a resend), number of times this packet has been resent,
|
||||
/// the time of the last resend, and the throttling category for this
|
||||
/// packet
|
||||
/// </summary>
|
||||
public sealed class OutgoingPacket
|
||||
{
|
||||
/// <summary>Client this packet is destined for</summary>
|
||||
@@ -46,6 +53,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
/// <summary>Category this packet belongs to</summary>
|
||||
public ThrottleOutPacketType Category;
|
||||
|
||||
/// <summary>
|
||||
/// Default constructor
|
||||
/// </summary>
|
||||
/// <param name="client">Reference to the client this packet is destined for</param>
|
||||
/// <param name="buffer">Serialized packet data. If the flags or sequence number
|
||||
/// need to be updated, they will be injected directly into this binary buffer</param>
|
||||
/// <param name="category">Throttling category for this packet</param>
|
||||
public OutgoingPacket(LLUDPClient client, UDPPacketBuffer buffer, ThrottleOutPacketType category)
|
||||
{
|
||||
Client = client;
|
||||
|
||||
Reference in New Issue
Block a user