TIPCMessageOverflowAction¶
Action to take when the message queue is going to overflow.
Declaration¶
Source position: simpleipc.pp line 40
type
TIPCMessageOverflowAction = (ipcmoaNone,ipcmoaDiscardOld,
ipcmoaDiscardNew,ipcmoaError)Values¶
| Value | Description |
|---|---|
| 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¶
| Name | Description |
|---|---|
| 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. |