[Overview][Resource strings][Constants][Types][Classes][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Internal client-side communication protocol
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; |
|
Internal client-side communication protocol |
|
| | ||
TObject |
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.
|
Simple IPC client component |
|
|
Internal message communication component |
|
|
Simple IPC server component |