Aztec® Programming Language
Version 1.1 Alpha 2

Copyright © 2010-2017, Aztec Development Group, All Rights Reserved

Download Aztec

Search        Contact Us

If you hear the song I sing...

You will understand.

- Chet Powers

 

aztec.util.QueueReceiveEvent

public class QueueReceiveEvent from<Event>

Base

Event

QueueReceiveEvent

The QueueReceiveEvent class provides an event class for handling receive events for a queue. This event occurs when an item is added to an ObjectQueue using 'AddItem()' or 'AddExpressItem()'. The ObjectQueue class supports this event and it is an effective mechanism for thread to thread communication. A "server oriented" thread can set up one or more QueueReceiveEvent handlers and wait (using Thread.EventMode()), coming to life every time an item is added to a queue. The event handler can then retrieve the item from the queue and process it accordingly.

 

QueueReceiveEvent Methods

QueueReceiveEvent() Constructor for the QueueReceiveEvent class
ObjectQueue() Returns a reference to the "Queue" which had an item added to it

Derived Classes

See Also

  


QueueReceiveEvent()

public method QueueReceiveEvent(Queue AssociatedQueue)

Parameters

AssociatedQueue

The queue containing the item which caused the event

Return Value

None

Description

Constructor for the QueueReceiveEvent class.

 

QueueReceiveEvent Class


ObjectQueue()

public method<ObjectQueue> ObjectQueue()

Parameters

None

Return Value

Reference to the object queue associated with the receive event

Description

This method returns the "ObjectQueue" reference associated with the QueueReceiveEvent. This is the ObjectQueue object which an item was added to and which caused this event to be created and processed.

 

QueueReceiveEvent Class

 

Copyright © 2010-2017

Aztec Development Group

All Rights Reserved

Download Aztec