Mercurial > hg > ucis.core
comparison Util/QueuedPacketStream.cs @ 108:819fb56a56ea
Removed rate limiting code from TCPServer
author | Ivo Smits <Ivo@UCIS.nl> |
---|---|
date | Mon, 27 Oct 2014 23:24:32 +0100 |
parents | 9533a87363f3 |
children |
comparison
equal
deleted
inserted
replaced
107:6be3c9bdb480 | 108:819fb56a56ea |
---|---|
1 using System; | 1 using System; |
2 using System.Collections.Generic; | 2 using System.Collections.Generic; |
3 using System.IO; | 3 using System.IO; |
4 using System.Threading; | 4 using System.Threading; |
5 using SysThreadPool = System.Threading.ThreadPool; | |
6 | 5 |
7 namespace UCIS.Util { | 6 namespace UCIS.Util { |
8 public abstract class QueuedPacketStream : PacketStream { | 7 public abstract class QueuedPacketStream : PacketStream { |
9 Queue<Byte[]> ReceiveQueue = new Queue<byte[]>(); | 8 Queue<Byte[]> ReceiveQueue = new Queue<byte[]>(); |
10 Byte[] ReceiveBuffer = null; | 9 Byte[] ReceiveBuffer = null; |