aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/IncomingPacket.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-10-17 21:08:15 +0100
committerJustin Clark-Casey (justincc)2012-10-17 21:08:15 +0100
commit2ed59ad8ac3ec836517b60580f13ab37102a0c67 (patch)
treed0c4c99b06a83108064a8ed8621f0f858b304a2a /OpenSim/Region/ClientStack/Linden/UDP/IncomingPacket.cs
parentminor: Make BasicCircuitTests.SetUp() call overriden base method instead of i... (diff)
downloadopensim-SC_OLD-2ed59ad8ac3ec836517b60580f13ab37102a0c67.zip
opensim-SC_OLD-2ed59ad8ac3ec836517b60580f13ab37102a0c67.tar.gz
opensim-SC_OLD-2ed59ad8ac3ec836517b60580f13ab37102a0c67.tar.bz2
opensim-SC_OLD-2ed59ad8ac3ec836517b60580f13ab37102a0c67.tar.xz
If RecycleBaseUDPPackets = true, also pool IncomingPackets to reduce memory churn
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/IncomingPacket.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/IncomingPacket.cs b/OpenSim/Region/ClientStack/Linden/UDP/IncomingPacket.cs
index 1b8535c..e22670b 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/IncomingPacket.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/IncomingPacket.cs
@@ -45,7 +45,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
45 public Packet Packet; 45 public Packet Packet;
46 46
47 /// <summary> 47 /// <summary>
48 /// Default constructor 48 /// No arg constructor.
49 /// </summary>
50 public IncomingPacket() {}
51
52 /// <summary>
53 /// Constructor
49 /// </summary> 54 /// </summary>
50 /// <param name="client">Reference to the client this packet came from</param> 55 /// <param name="client">Reference to the client this packet came from</param>
51 /// <param name="packet">Packet data</param> 56 /// <param name="packet">Packet data</param>