Sign in Join
FPDoc Onlineexperiment

TIPCServerMsgQueue.MaxAction property

Member of TIPCServerMsgQueuepublicIn unit SimpleIPC

Action to take when the number of messages will exceed MaxCount.

Declaration

pascal
property MaxAction: TIPCMessageOverflowAction read FMaxAction write FMaxAction;

Description

MaxAction determines what will happen if the current Count equals MaxCount and a new message is put in the queue using Push:

Do nothing, just add the message.

Discard the oldest message.

Discard the new message.

See also

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