Unit 'simpleipc' Package
[Overview][Resource strings][Constants][Types][Classes][Variables][Index] [#fcl]

TIPCServerMsgQueue

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

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

Declaration

Source position: simpleipc.pp line 76

type TIPCServerMsgQueue = class

public

  constructor Create;

  

Create a new message queue instance.

  destructor Destroy; override;

  

Destroy server message queue instance.

  procedure Clear;

  

Clear the message queue.

  procedure Push();

  

Add a new message to the queue.

  function Pop;

  

Remove the oldest message from the queue.

  property Count: Integer; [r]

  

Number of messages in the queue.

  property MaxCount: Integer; [rw]

  

Maximum number of messages in the queue, 0 for unlimited.

  property MaxAction: TIPCMessageOverflowAction; [rw]

  

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

end;

Inheritance

TIPCServerMsgQueue

  

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

|

TObject

Description

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

See also

TIPCServerMsgQueue.MaxCount

  

Maximum number of messages in the queue, 0 for unlimited.

TIPCServerMsgQueue.MaxAction

  

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


Documentation generated on: Nov 22 2024