Progress
ADM 2 Guide


SmartLink Overview

SmartLinks are an important element of the ADM architecture. A SmartLink is a bidirectional association of two SmartObjects. It establishes how one SmartObject relates to another and what sort of behavior each can expect from the other. SmartLinks are also part of the overall ADM messaging scheme (communication between SmartObjects).

A SmartObject associated with another by a SmartLink serves as either the link’s Source object or its Target object. Data flows across the SmartLink primarily from the Source to the Target, but in some circumstances, from the Target to the Source.

SmartLinks are created and maintained by each SmartObject’s container. Each link is a property in each SmartObject that supports that type of link. The smart.p super procedure has procedures and functions for link management. Each link is mapped to one or more events that use the PUBLISH and SUBSCRIBE statements. These event lists are also SmartObject properties. For more information on PUBLISH and SUBSCRIBE, see the chapter on named events in the Progress Programming Handbook and the PUBLISH and SUBSCRIBE entries in the Progress Language Reference.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095