Previous | Table of Contents | Next |
An event sink embodies the potential for the component to receive events of a specified type. An event sink is, in essence,
a special-purpose facet whose type is an event consumer. External entities, such as clients or configuration services, can
obtain the reference for the consumer interface associated with the sink.
A component may exhibit zero or more consumers.
See the CORBA Components specification, Component Model chapter, “Event Sinks? section for further details.
3.17.5.1 Syntax
The syntax for an event sink declaration is as follows:
(125) <consumes_dcl> ::= “consumes? <scoped_name> <identifier>
An event sink declaration contains the following elements:
• the keyword consumes
•a <scoped_name> that denotes a previously-defined event type
•an <identifier> that names the event sink in the component’s scope
See the CORBA Components specification, Component Model chapter, “Event Sinks? section for further details.