Namespace: Consultingwerk.Framework
Class 
MessagePublisher Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Framework.IMessagePublisher

File:MessagePublisher
Purpose:Default IMessagePublisher implementation
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu Dec 04 17:44:51 CET 2014



Top Method Summary
Options Name Purpose
+ Publish (Object) Publishes a Message to all subscriber that are subscribed to messages of that type
+ Subscribe (IMessageSubscriber, Class) Subscribes an Message handler call back to the given Message type
+ Unsubscribe (IMessageSubscriber, Class) Unsubscribes an Message handler call back to the given Message type


Method Detail
Top

PUBLIC Publish (Object)

Purpose: Publishes a Message to all subscriber that are subscribed to messages
of that type
Notes: Subscription is for the actual message type and child classes

Parameters:
poMessage Progress.Lang.Object
The Message to publish
Top

PUBLIC Subscribe (IMessageSubscriber, Class)

Purpose: Subscribes an Message handler call back to the given Message type
Notes: Subscription is for the actual message type and child classes

Parameters:
poCallback Consultingwerk.Framework.IMessageSubscriber
The reference to the callback instance
poType Progress.Lang.Class
The Message type to subscribe to
Top

PUBLIC Unsubscribe (IMessageSubscriber, Class)

Purpose: Unsubscribes an Message handler call back to the given Message type
Notes:

Parameters:
poCallback Consultingwerk.Framework.IMessageSubscriber
The reference to the callback instance
poType Progress.Lang.Class
The Message type to unsubscribe from


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:28:56