IpcServer Class (Typed)
|
|
Register an application as a server able to access data on specific topics and update registered topics and update registered client applications.
Inheritance Hierarchy
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.24 GA
SyntaxThe IpcServer type exposes the following members.
Constructors|
| Name | Description |
 | IpcServer |
Construct an IpcServer object.
|
Top
Functions|
| Name | Description |
 | AddTopic |
Add a topic to the list of topics supported by the server.
|
 | DataRequest |
Called whenever a client makes a request for data or when the IpcServer:UpdateTopic() is called.
|
 | DataUpdate | |
 | Destroy |
Provide a method to de-instantiate an IpcServer object.
(Overrides Destroy.) |
 | Dispatch | |
 | ExecuteRequest |
Called when the client calls IpcClient:Execute(). The server should take the appropriate action to execute the command locally.
|
 | UpdateTopic |
Request that the server update a particular topic and item.
|
Top
Remarks
In X#, the IPC... classes provides a means of implementing DDE conversations between DDE-compatible applications. DDE (Dynamic Data Exchange) is a type of interprocess communication (IPC) that uses shared memory to exchange data between applications. IPC is governed by a DDE management library, an underlying DLL in Windows.
In such a conversation, there is a client and a server. The client requests data from the server about particular topics and items, and the server supplies the requested data. The applications, after requesting to be a client or server (or both), then exchange updates as soon as new data becomes available. These exchanges are not necessarily initiated by the user.
Each IPC client must uniquely identify the server with which it wishes to communicate, and then request data updates. After the initial transfer, the client is informed of any changes to the transferred data in the server by means of an IpcDataUpdateEvent object.
See Also