mirror of
https://github.com/zhangkong828/DHTSpider.git
synced 2026-10-18 21:20:42 +08:00
19 lines
339 B
C#
19 lines
339 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Net;
|
|
using System.Text;
|
|
using Tancoder.Torrent;
|
|
|
|
namespace Spider.Queue
|
|
{
|
|
public interface IQueue
|
|
{
|
|
void Enqueue(KeyValuePair<InfoHash, IPEndPoint> item);
|
|
|
|
KeyValuePair<InfoHash, IPEndPoint> Dequeue();
|
|
|
|
int Count();
|
|
}
|
|
}
|