Try OpenEdge Now
skip to main content
Object-oriented Programming
Designing Objects: Inheritance, Polymorphism, and Delegation : Class hierarchies and inheritance : Event scoping within a class hierarchy : Comparison with procedure-based programming
 
Comparison with procedure-based programming
By comparison, named events are always PUBLIC by default, which means that handlers can be subscribed (through the SUBSCRIBE statement) to named events from within an owning super procedure stack or from any code that has a handle to the procedure object that owns the event and its handler procedures. You can also define internal procedures as PRIVATE to restrict handler subscriptions for named events to the defining procedure.