TIBCO Adapter SDK C++ Reference
MEventSource Methods
MEventSource | Legend
Methods
Method Description
addListener Adds an event listener to this event source. An event listener is a callback class that registers interest in certain events and is notified when that event occurs.
downCast Allow a safe cast operation of certain classes, including all subclasses of MComponent, subclasses of MSink, and subclasses of MBaseClassDescription.
downCast Allow a safe cast operation of certain classes, including all subclasses of MComponent, subclasses of MSink, and subclasses of MBaseClassDescription.
getClassName Return the class name as a char*.
MEventSource Constructor for creating instances of MEventSource subclasses. Usually, applications use one of the already existing MEventSource subclasses. If you want to use custom events, however, you have to create your own custom event source subclass and then call its constructor to instantiate the custom event source.
notify Triggers an event in each event listener attached to this event source.
removeListener Removes a currently attached event listener from this event source.
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.