An application that acts as the receiver side of a DDE conversation with a DDE server application. In VA Smalltalk, the DdeClient class implements the function and protocol to support the client side of a DDE conversation. An instance of DdeClient can connect to a DDE server (any application, Smalltalk or otherwise, that follows the particular platform DDE server protocol) and then make data requests to that server.Used by a DdeServerManager to hold all the items that the DdeServerManager makes available to DDE clients through default processing.The primary means by which an application responds to DDE events. Callbacks are procedures within an application that take some action in response to events emanating from a DDE client or server. In VA Smalltalk, callbacks are methods in an application class that is using a DdeClient or DdeServerManager to manage a DDE conversation. These methods (that is, their selectors) along with the application object itself are registered with the DDE objects, so that when a particular DDE event occurs, the DDE object "calls back" to the application by sending the specified method to the specified application object. If callbacks are not registered with a DdeServerManager for one or more events, then well-defined default processing will take place.In this chapter, the program that creates and uses the DdeServerManager, or the DdeClient, or both. The word "application" is often used as one of the three qualifiers for a piece of data. In DDE terms, a piece of data is identified by an application, topic, and item. This chapter, however, identifies data by server name, topic, and item. In VA Smalltalk, the name of a DDE server is simply a Smalltalk String passed as a parameter when the DdeServerManager is created. Here is an example of the server name, topic, and item hierarchy:Specifies how a piece of data is to be interpreted by the receiving side of a DDE conversation. In VA Smalltalk, a format is specified by a Smalltalk String (case insensitive). All data transferred to/from a DdeClient or a DdeServerManager must be contained in a ByteArray object. The format string tells each side of the DDE conversation how that data is to be interpreted. There are certain predefined formats. The only exception to this rule is the format 'String' where the item being transferred must also be a Smalltalk String.A set of predefined topics and items that provide information of general interest to DDE clients. Table 41 shows the predefined topics and items that are supported by the default processing of the DdeServerManager.
|