Sign in Join
FPDoc Onlineexperiment

TIPCServerComm class

In unit SimpleIPC

Internal message communication component.

Declaration

pascal
TIPCServerComm = class(TObject)

Inheritance

  1. TIPCServerComm
  2. TObject

Description

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

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

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

See also

Properties

OwnerpublicTSimpleIPCServer instance for which to handle transport.
InstanceIDpublicUnique identifier for the communication channel.

Methods

GetInstanceIDprotected
DoErrorprotected
PushMessageprotected
CreatepublicCreate a new instance of the communication handler.
StartServerpublicStart the server-side of the communication channel.
StopServerpublicStop the server side of the communication channel.
PeekMessagepublicSee if a message is available.
ReadMessagepublicRead message from the channel.

Inherited

From TObject (41)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Destroy Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.