Click or drag to resize

IpcServer Class (Typed)

X#
Register an application as a server able to access data on specific topics and update registered topics and update registered client applications.
Inheritance Hierarchy
Object
  VObject
    EventContext
      IpcServer

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 CLASS IpcServer INHERIT EventContext
Request Example View Source

The IpcServer type exposes the following members.

Constructors
  NameDescription
Public methodIpcServer
Construct an IpcServer object.
Top
Functions
  NameDescription
Public methodAddTopic
Add a topic to the list of topics supported by the server.
Public methodDataRequest
Called whenever a client makes a request for data or when the IpcServer:UpdateTopic() is called.
Public methodDataUpdate
Public methodDestroy
Provide a method to de-instantiate an IpcServer object.
(Overrides Destroy.)
Public methodDispatch
Public methodExecuteRequest
Called when the client calls IpcClient:Execute(). The server should take the appropriate action to execute the command locally.
Public methodOverride
This is a compatibility method that is no longer used or needed.
(Inherited from EventContext.)
Public methodUpdateTopic
Request that the server update a particular topic and item.
Top
Globals and Defines
  NameDescription
Public fieldoCargo
Cargo slot.
(Inherited from VObject.)
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