using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BCG
{
///
/// interface added to support the new implementation
/// of the sync queue (so that it can be switched back
/// n forth by a config switch)
///
///
public interface ISyncQueue
{
void enqueue(T t);
T dequeue(int timeout);
T dequeue();
List dequeueMultipleElements(int timeout, int maxElements);
List dequeueMultipleElements(TimeSpan ts, int maxElements);
int getCount();
}
}