[Overview][Resource strings][Constants][Types][Classes][Variables][Index] Reference for unit 'simpleipc' (#fcl)

TIPCClientComm

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Internal client-side communication protocol

Declaration

Source position: simpleipc.pp line 236

type TIPCClientComm = class(TObject)

public

  constructor Create(); virtual;

  

Create a new instance of the TIPCClientComm

  property Owner: TSimpleIPCClient; [r]

  

TSimpleIPCClient instance for which communication must be handled.

  procedure Connect; virtual; abstract;

  

Connect to the server

  procedure Disconnect; virtual; abstract;

  

Disconnect from the server

  function ServerRunning; virtual; abstract;

  

Check if the server is running.

  procedure SendMessage(); virtual; abstract;

  

Send a message

end;

Inheritance

TIPCClientComm

  

Internal client-side communication protocol

|

TObject

Description

TIPCClientComm is an abstract component which implements the client-side communication protocol. The behaviour expected of this class must be implemented in a platform-dependent descendent class.

The TSimpleIPCClient class does not implement the messaging protocol by itself. Instead, it creates an instance of a (platform dependent) descendent of TIPCClientComm which handles the internals of the communication protocol.

The server side of the messaging protocol is handled by the TIPCServerComm component. The descendent components must always be implemented in pairs.

See also

TSimpleIPCClient

  

Simple IPC client component

TIPCServerComm

  

Internal message communication component

TSimpleIPCServer

  

Simple IPC server component


Documentation generated on: Jun 22 2020