ENVIMessage

The ENVIMessage class is an abstract class used as a superclass for other message classes. Implementing this abstract class allows you to broadcast messages to the ENVIBroadcastChannel.

ENVIBroadcastChannel will call the ENVIMessageHandler::OnMessage method on all of its subscribers to forward messages sent using the ENVIBroadcastChannel::Broadcast method.

Properties

SOURCE (Init, Get)

Set to an object that can be used as a unique identifier to determine who sent the message. For example, if a message sets the source to an object that is or inherits ENVIAbortable, the subscribers could set the ABORT_REQUESTED property for that message.

Version History

ENVI 5.3

Introduced

API Version

4.2

See Also

ENVIBroadcastChannel, Messaging