| BlockingByteArrayQueue Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: Crosser.Server.Utilities.Queue
 Syntax
Syntaxpublic class BlockingByteArrayQueue : IDisposable
The BlockingByteArrayQueue type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | BlockingByteArrayQueue | 
            Ctor with reference to IProtocol since this is used to update client statistics 
             | 
 Properties
Properties Methods
Methods| Name | Description | |
|---|---|---|
|  | Dispose | 
            Dispose the queue
             | 
|  | Enqueue | 
            Add a new item to the queue.
            If the queue is full the OnQueueFull event will be invoked
             | 
|  | Equals | Determines whether the specified object is equal to the current object.(Inherited from Object.) | 
|  | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) | 
|  | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | MemberwiseClone | Creates a shallow copy of the current Object.(Inherited from Object.) | 
|  | ToString | Returns a string that represents the current object.(Inherited from Object.) | 
|  | TryDequeue | 
            Get an item from the queue. If the queue is empty the method will block until there is an item to return
            If the queue is empty the OnQueueEmpty event will be invoked
             | 
 Fields
Fields| Name | Description | |
|---|---|---|
|  | OnQueueEmpty | 
            Event called when the queue is empty
             | 
|  | OnQueueFull | 
            Event called when the queue is full
             | 
 See Also
See Also