Click or drag to resize

BlockingQueueT Class

Blocking queue that will wait for new items when doing Dequeue
Inheritance Hierarchy
SystemObject
  Crosser.Server.Utilities.QueueBlockingQueueT

Namespace:  Crosser.Server.Utilities.Queue
Assembly:  Crosser.Server (in Crosser.Server.dll) Version: 0.0.5
Syntax
C#
public class BlockingQueue<T> : IDisposable

Type Parameters

T
The generic type to use with the queue

The BlockingQueueT type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCount
Number of items in the queue
Top
Methods
  NameDescription
Public methodDispose
Dispose the queue
Public methodEnqueue
Add an item to the queue
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryDequeue
Get an item from the queue. If the queue is empty the method will block until there is an item to return
Top
See Also