Sign in Join
FPDoc Onlineexperiment

TIPCServerMsgQueue class

In unit SimpleIPC

A simple message queue, with FIFO characteristics and overflow management.

Declaration

pascal
TIPCServerMsgQueue = class

Description

TIPCServerMsgQueue implements a message queue with FIFO characteristics. It has support for a maximum queue length ( MaxCount) and various ways of dealing with overflowing queue ( MaxAction)

See also

Properties

CountpublicNumber of messages in the queue.
MaxCountpublicMaximum number of messages in the queue, 0 for unlimited.
MaxActionpublicAction to take when the number of messages will exceed MaxCount.

Methods

CreatepublicCreate a new message queue instance.
DestroypublicDestroy server message queue instance.
ClearpublicClear the message queue.
PushpublicAdd a new message to the queue.
PoppublicRemove the oldest message from the queue.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.