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

TIPCServerMsgQueue.Pop

Remove the oldest message from the queue.

Declaration

Source position: simpleipc.pp line 82

public function TIPCServerMsgQueue.Pop: TIPCServerMsg;

Function result

Oldest message in the queue, or Nil.

Description

Pop removes the oldest message from the queue if there is one, and returns it. If none exists, Nil is returned. The caller is responsible for freeing the message instance.

Errors

None.

See also

TIPCServerMsgQueue.Push

  

Add a new message to the queue.


Documentation generated on: Jul 24 2023