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

TSimpleIPCServer.MaxAction

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

Declaration

Source position: simpleipc.pp line 226

published property TSimpleIPCServer.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

TSimpleIPCServer.MaxQueue

  

Maximum number of messages in the queue, 0 for unlimited

TSimpleIPCServer.PeekMessage

  

Check if a client message is available.

TIPCMessageOverflowAction

  

Action to take when the message queue is going to overflow


Documentation generated on: May 14 2021