Sign in Join
FPDoc Onlineexperiment

TSimpleIPCClient class

In unit SimpleIPC

Simple IPC client component.

Declaration

pascal
TSimpleIPCClient = class(TSimpleIPC)

Inheritance

  1. TSimpleIPCClient
  2. TSimpleIPC
  3. TComponent
  4. TPersistent
  5. TObject

Description

TSimpleIPCClient is the client side of the simple IPC communication protocol. The client program should create a TSimpleIPCClient instance, set its ServerID property to the unique name for the server it wants to send messages to, and then set the Active property to True.

After the connection with the server was established, messages can be sent to the server with the SendMessage or SendStringMessage calls.

See also

Properties

ServerInstancepublishedServer instance identification.

Methods

Activateprotected
Deactivateprotected
CommClassprotected
CreatepublicCreate a new instance of TSimpleIPCClient.
DestroypublicRemove the TSimpleIPCClient instance from memory.
ConnectpublicConnect to the server.
DisconnectpublicDisconnect from the server.
ServerRunningpublicCheck if the server is running.
SendMessagepublicSend a message to the server.
SendStringMessagepublicSend a string message to the server.
SendStringMessageFmtpublicSend a formatted string message.

Fields

FIPCCommprotected

Inherited

From TSimpleIPC (10)

Active Busy CheckActive CheckInactive CheckServerID DoError Loaded PrepareServerID ServerID SystemGlobal

From TComponent (73)

_AddRef _Release BeforeDestruction CanObserve ChangeName ComObject ComponentCount ComponentIndex Components ComponentState ComponentStyle DefineProperties DesignInfo DestroyComponents Destroying ExecuteAction FindComponent FreeNotification FreeOnRelease GetChildOwner GetChildParent GetChildren GetDeltaStreams GetEnumerator GetIDsOfNames GetNamePath GetObservers GetOwner GetParentComponent GetTypeInfo GetTypeInfoCount HasParent iicrGetComponent InsertComponent Invoke IsImplementorOf Loading Name Notification ObserverAdded Observers OnGetDeltaStreams Owner PaletteCreated QueryInterface ReadDeltaState ReadDeltaStream ReadState ReferenceInterface RemoveComponent RemoveFreeNotification RemoveFreeNotifications SafeCallException SetAncestor SetChildOrder SetDesigning SetDesignInstance SetInline SetName SetParentComponent SetSubComponent Tag ToString TToStringNameMode UpdateAction Updated UpdateRegistry Updating ValidateContainer ValidateInsert ValidateRename VCLComObject WriteState

From TPersistent (5)

Assign AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers

From TObject (37)

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

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