The macro
define-dde-dispatch-topic
defines a dispatching topic. A dispatching topic is a topic which has a fixed name and always exists. Dispatching topics provide dispatching capabilities, whereby appropriate application-supplied code is executed for each supported transaction. Note that the server implementation also provides some dispatching capabilities.
The name of the dispatching topic object is specified by name .
The topic is identified by the string topic-name .
The class of the server to attach the topic to is given by server .
The macro
define-dde-dispatch-topic
returns the name of the dispatching topic,
name
.
Use
define-dde-server-function
with the
:topic
option to define items for a dispatch topic.
(define-dde-dispatch-topic topic1 :server demo-server)
(define-dde-server-function (item1 :topic topic1)
:request
()
..handle topic1.item1 request..)
LispWorks User Guide and Reference Manual - 21 Dec 2011