LispWorks User Guide and Reference Manual > 18 Dynamic Data Exchange > 18.2 Client interface

NextPrevUpTopContentsIndex

18.2.3 Advise loops

A LispWorks client can set up an advise loop across a conversation using dde-advise-start, which takes a conversation (or a service designator/ topic designator pair in the case of an automatically managed conversation using dde-advise-start*), an item , and a key as its main arguments. The key argument defaults to the conversation name, and can be used to distinguish between multiple advise loops established on the same service/topic/item group.

Whenever the data monitored by the advise loop changes, a function is called to inform the client. By default this function is the generic function dde-client-advise-data. You can add methods to dde-client-advise-data specialized on the key or the client conversation class. Alternatively, you can supply a different function in the call to dde-advise-start.

18.2.3.1 Example advise loop


LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex