Sign in Join
FPDoc Onlineexperiment

TSimpleIPCServer.MaxAction property

Member of TSimpleIPCServerpublishedIn unit SimpleIPC

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

Declaration

pascal
property MaxAction: TIPCMessageOverflowAction read GetMaxAction write SetMaxAction default DefaultMaxAction;

Description

MaxAction determines what will happen if the number of messages on the queue equals MaxQueue and a new message is put in the queue during PeekMessage:

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.