Specifications

Python
A-9
••••••••
GetAdvisedItemNoWait(connection, itemname)
Returns
a tuple (
value, data-event) where value
is the data r
eceived
accompanying a data changed Advise event, and data-event is a boolean,
which is true when a data changed event has been received. This event is
to be used in case use_NODATA has been specified to Advise(),
signalling data can be requested from the server. If no data change event
has been received None is returned. Resets the internal change flag used
by WaitForAnyAdvisedItem(), so check for all necessary items. This
function does not wait for a data change Advise event. If a callback has
been specified to Initialize(), this function is not operational.
If Advise has been invoked with use_NODATA=1, a tuple with None
as
first member value, instead of a string, is returned if the server sent a
notification. The data is to be retrieved using Request().
Request(connection, item[, timeout])
Request
data from a server
. The timeout is default set to 25 days, and has
to be specified in milliseconds. The timeout cannot be disabled.
Retur
ns the data r
eceived.
ConversationHandle(connection)
Returns the DDE conversation handle of the specified connection tuple.
Unadvise(connection, item[
,
timeout])
Remove a data change Advise loop of the specified item.
The timeout is default set to 25 days, and has to be specified in
milliseconds.
The timeout cannot be disabled.
Returns nothing.
GetServiceTopicsList(service_name)
Returns a list of topics supported by the specified service (aka server
application).
Sets up and ter
minates its own conversation for interrogation purposes.
The timeout is fixed at 5 seconds.