Class BlockingQueue<T>
Inheritance
System.Object
BlockingQueue<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SCTP4CS.Utils
Assembly: SIPSorcery.dll
Syntax
public class BlockingQueue<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
| Improve this Doc View SourceBlockingQueue()
Declaration
public BlockingQueue()
Properties
| Improve this Doc View SourceCount
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceClear()
Declaration
public void Clear()
Close()
Declaration
public void Close()
Enqueue(T)
Declaration
public bool Enqueue(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item |
Returns
Type | Description |
---|---|
System.Boolean |
TryDequeue(out T, Int32)
Declaration
public bool TryDequeue(out T value, int timeout = -1)
Parameters
Type | Name | Description |
---|---|---|
T | value | |
System.Int32 | timeout |
Returns
Type | Description |
---|---|
System.Boolean |