Message.newElement

Create a new element-specific message. This is meant as a generic way of allowing one-way communication from an element to an application, for example "the firewire cable was unplugged". The format of the message should be documented in the element's documentation. The structure field can be null.

Parameters

srcThe object originating the message.
structureThe structure for the message. The message will take ownership of the structure.

Returns

The new element message.

MT safe.