Skip to content

TIPCServerMsgQueue.MaxAction

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

Declaration

Source position: simpleipc.pp line 92

public property MaxAction: TIPCMessageOverflowAction;

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

Name Description
TIPCServerMsgQueue.Count Number of messages in the queue.
TIPCServerMsgQueue.MaxCount Maximum number of messages in the queue, 0 for unlimited.
TIPCServerMsgQueue.Push Add a new message to the queue.
TIPCMessageOverflowAction Action to take when the message queue is going to overflow.