EldoS
MsgConnect home / Documentation / Queue class
Navigation
Web site
Support
Table Of Contents

Queue class

Properties     Methods     Events     See also    


Queue objects are used for addressing and processing of messages.

Description

    Queues are used for effective dispatching of messages. One can add several handlers and define, which messages each handler will handle. This allows to make an application code more structured and avoid huge message processing functions, so common in early days of Windows programming.

    Access handlers list with Handlers property. Bind the queue to the messenger using Messenger property.

    To send the message to the queue, you need to give queue a name with a QueueName property. Read more about the name of the queue in discussing Addressing topics.

    When the message is received by the queue, it searches for the proper handler in the list of handlers. If the handler is not found, OnUnhandledMessage event is fired.

Properties

  • Handlers
  • Messenger
  • QueueName

Methods

  • Create
  • Destroy

Events

  • OnUnhandledMessage

See also:     Messenger class     MessageHandlers class     MessageHandler class

 
Contact Us | Subscribe | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2005, EldoS Corporation