[Overview][Resource strings][Constants][Types][Classes][Variables][Index] | Reference for unit 'simpleipc' (#fcl)

# TIPCMessageOverflowAction

Action to take when the message queue is going to overflow

## Declaration

Source position: simpleipc.pp line 33

`type TIPCMessageOverflowAction = (`
`ipcmoaNone,` |  | Do nothing, just add the message
`ipcmoaDiscardOld,` |  | Discard the oldest message
`ipcmoaDiscardNew,` |  | Discard the new message
`ipcmoaError` |  | Raise an error
`);`

## Description

TIPCMessageOverflowAction describes what will happen if the message queue hits the size limit for the queue.

  Do nothing, just add the message
  Discard the oldest message
  Discard the new message

## See also

DefaultIPCMessageOverflowAction |  | Default action to take take when the message queue is going to overflow
TIPCServerMsgQueue.MaxAction |  | Action to take when the number of messages will exceed MaxCount.
TIPCServerMsgQueue.MaxCount |  | Maximum number of messages in the queue, 0 for unlimited