aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs12
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs
index 8170150..95ee516 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs
@@ -72,12 +72,22 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests
72 } 72 }
73 73
74 /// <summary> 74 /// <summary>
75 /// Load some data to be received by the LLUDPServer on the next receive call
76 /// </summary>
77 /// <param name="data"></param>
78 /// <param name="epSender"></param>
79 public void LoadReceive(byte[] data, EndPoint epSender)
80 {
81 m_chunksToLoad.Enqueue(new ChunkSenderTuple(data, epSender));
82 }
83
84 /// <summary>
75 /// Load a packet to be received by the LLUDPServer on the next receive call 85 /// Load a packet to be received by the LLUDPServer on the next receive call
76 /// </summary> 86 /// </summary>
77 /// <param name="packet"></param> 87 /// <param name="packet"></param>
78 public void LoadReceive(Packet packet, EndPoint epSender) 88 public void LoadReceive(Packet packet, EndPoint epSender)
79 { 89 {
80 m_chunksToLoad.Enqueue(new ChunkSenderTuple(packet.ToBytes(), epSender)); 90 LoadReceive(packet.ToBytes(), epSender);
81 } 91 }
82 92
83 /// <summary> 93 /// <summary>