[Overview][Resource strings][Constants][Types][Classes][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Simple IPC client component
Source position: simpleipc.pp line 252
type TSimpleIPCClient = class(TSimpleIPC) |
||
public |
||
constructor Create(); override; |
|
Create a new instance of TSimpleIPCClient |
destructor Destroy; override; |
|
Remove the TSimpleIPCClient instance from memory |
procedure Connect; |
|
Connect to the server |
procedure Disconnect; |
|
Disconnect from the server |
function ServerRunning; |
|
Check if the server is running. |
procedure SendMessage(); |
|
Send a message to the server |
procedure SendStringMessage(); |
|
Send a string message to the server |
procedure SendStringMessageFmt(); |
|
Send a formatted string message |
property ServerInstance: string; [rw] |
|
Server instance identification |
end; |
|
Simple IPC client component |
|
| | ||
|
Ancestor for client/server simple IPC classes |
|
| | ||
| | ||
| | ||
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.
|
Simple IPC server component |
|
|
Ancestor for client/server simple IPC classes |
|
|
Internal client-side communication protocol |